backported resource spliting

This commit is contained in:
Syping 2017-09-22 06:00:22 +02:00
parent 8a90ab7036
commit 69777a0263
9 changed files with 67 additions and 50 deletions

View file

@ -50,7 +50,7 @@
#ifndef GTA5SYNC_APPVER
#ifndef GTA5SYNC_DAILYB
#define GTA5SYNC_APPVER "1.4.3"
#define GTA5SYNC_APPVER "1.4.4"
#else
#define GTA5SYNC_APPVER QString("%1").arg(GTA5SYNC_DAILYB)
#endif

View file

@ -112,6 +112,7 @@ TRANSLATIONS += \
res/gta5sync_ru.ts
RESOURCES += \
res/tr_g5p.qrc \
res/app.qrc
DISTFILES += res/app.rc \
@ -119,8 +120,8 @@ DISTFILES += res/app.rc \
res/gta5sync_de.ts \
res/gta5sync_fr.ts \
res/gta5sync_ru.ts \
res/gta5sync.exe.manifest \
res/gta5sync.png \
res/gta5view.exe.manifest \
res/gta5view.png \
lang/README.txt
INCLUDEPATH += ./uimod
@ -155,6 +156,12 @@ isEqual(QT_MAJOR_VERSION, 4): SOURCES += qjson4/QJsonArray.cpp \
qjson4/QJsonValueRef.cpp \
qjson4/QJsonParser.cpp
isEqual(QT_MAJOR_VERSION, 4): RESOURCES += res/tr_qt4.qrc
# QT5 ONLY STUFF
isEqual(QT_MAJOR_VERSION, 5): RESOURCES += res/tr_qt5.qrc
# UNIX SYSTEM STUFF
unix: !macx: appfiles.path = $$(INSTALL_PATH)/share/applications

View file

@ -1,43 +1,32 @@
<RCC>
<qresource prefix="/tr">
<file>gta5sync_de.qm</file>
<file>qt_de.qm</file>
<file>qtbase_de.qm</file>
<file>gta5sync_fr.qm</file>
<file>qt_fr.qm</file>
<file>qtbase_fr.qm</file>
<file>gta5sync_ru.qm</file>
<file>qt_ru.qm</file>
<file>qtbase_ru.qm</file>
</qresource>
<qresource prefix="/img">
<file>savegame.png</file>
<file>5sync-48.png</file>
<file>5sync-16.png</file>
<file>5sync-24.png</file>
<file>5sync-32.png</file>
<file>5sync-40.png</file>
<file>5sync-64.png</file>
<file>5sync-96.png</file>
<file>5sync-128.png</file>
<file>5sync-256.png</file>
<file>back.png</file>
<file>next.png</file>
<file>960x536.png</file>
<file>empty1x16.png</file>
<file>avatararea.png</file>
<file>avatarareaimport.png</file>
</qresource>
<qresource prefix="/global">
<file>global.de.ini</file>
<file>global.en.ini</file>
<file>global.es.ini</file>
<file>global.fr.ini</file>
<file>global.ja.ini</file>
<file>global.ru.ini</file>
<file>global.zh.ini</file>
</qresource>
<qresource prefix="/template">
<file>template.g5e</file>
</qresource>
</RCC>
<RCC>
<qresource prefix="/img">
<file>savegame.png</file>
<file>5sync-48.png</file>
<file>5sync-16.png</file>
<file>5sync-24.png</file>
<file>5sync-32.png</file>
<file>5sync-40.png</file>
<file>5sync-64.png</file>
<file>5sync-96.png</file>
<file>5sync-128.png</file>
<file>5sync-256.png</file>
<file>back.png</file>
<file>next.png</file>
<file>960x536.png</file>
<file>empty1x16.png</file>
<file>avatararea.png</file>
<file>avatarareaimport.png</file>
</qresource>
<qresource prefix="/global">
<file>global.de.ini</file>
<file>global.en.ini</file>
<file>global.es.ini</file>
<file>global.fr.ini</file>
<file>global.ja.ini</file>
<file>global.ru.ini</file>
<file>global.zh.ini</file>
</qresource>
<qresource prefix="/template">
<file>template.g5e</file>
</qresource>
</RCC>

View file

@ -7,8 +7,8 @@ CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gta5view.exe.manifest"
#include <windows.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 4, 2, 0
PRODUCTVERSION 1, 4, 2, 0
FILEVERSION 1, 4, 4, 0
PRODUCTVERSION 1, 4, 4, 0
FILEFLAGSMASK 0x3fL
FILEFLAGS 0
FILEOS VOS_NT_WINDOWS32
@ -25,12 +25,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Syping"
VALUE "FileDescription", "gta5view\0"
VALUE "FileVersion", "1.4.2\0"
VALUE "FileVersion", "1.4.4\0"
VALUE "InternalName", "gta5view\0"
VALUE "LegalCopyright", "Copyright © 2016-2017 Syping\0"
VALUE "OriginalFilename", "gta5view.exe\0"
VALUE "ProductName", "gta5view\0"
VALUE "ProductVersion", "1.4.2\0"
VALUE "ProductVersion", "1.4.4\0"
END
END
END

Binary file not shown.

Binary file not shown.

7
res/tr_g5p.qrc Normal file
View file

@ -0,0 +1,7 @@
<RCC>
<qresource prefix="/tr">
<file>gta5sync_de.qm</file>
<file>gta5sync_fr.qm</file>
<file>gta5sync_ru.qm</file>
</qresource>
</RCC>

7
res/tr_qt4.qrc Normal file
View file

@ -0,0 +1,7 @@
<RCC>
<qresource prefix="/tr">
<file>qt_de.qm</file>
<file>qt_fr.qm</file>
<file>qt_ru.qm</file>
</qresource>
</RCC>

7
res/tr_qt5.qrc Normal file
View file

@ -0,0 +1,7 @@
<RCC>
<qresource prefix="/tr">
<file>qtbase_de.qm</file>
<file>qtbase_fr.qm</file>
<file>qtbase_ru.qm</file>
</qresource>
</RCC>