compress global files

This commit is contained in:
Syping 2018-06-09 20:38:12 +02:00
parent 609efb7fba
commit e3a8edae2d
4 changed files with 21 additions and 13 deletions

View file

@ -43,6 +43,7 @@
#include <QMessageBox>
#include <QStringList>
#include <QTranslator>
#include <QResource>
#include <QCheckBox>
#include <QFileInfo>
#include <QSysInfo>
@ -291,6 +292,8 @@ int main(int argc, char *argv[])
QObject::connect(&threadDB, SIGNAL(finished()), &a, SLOT(quit()));
threadDB.start();
QResource::registerResource(":/global/global.rcc");
UserInterface uiWindow(&profileDB, &crewDB, &threadDB);
uiWindow.setWindowIcon(IconLoader::loadingAppIcon());
uiWindow.setupDirEnv();

View file

@ -24,19 +24,7 @@
<file>watermarkdark.png</file>
</qresource>
<qresource prefix="/global">
<file>global.de.ini</file>
<file>global.en.ini</file>
<file>global.es.ini</file>
<file>global.es_MX.ini</file>
<file>global.fr.ini</file>
<file>global.it.ini</file>
<file>global.ja.ini</file>
<file>global.ko.ini</file>
<file>global.pl.ini</file>
<file>global.pt.ini</file>
<file>global.ru.ini</file>
<file>global.zh.ini</file>
<file>global.zh.loc</file>
<file>global.rcc</file>
</qresource>
<qresource prefix="/template">
<file>template.g5e</file>

17
res/global.qrc Normal file
View file

@ -0,0 +1,17 @@
<RCC>
<qresource prefix="/global">
<file>global.de.ini</file>
<file>global.en.ini</file>
<file>global.es.ini</file>
<file>global.es_MX.ini</file>
<file>global.fr.ini</file>
<file>global.it.ini</file>
<file>global.ja.ini</file>
<file>global.ko.ini</file>
<file>global.pl.ini</file>
<file>global.pt.ini</file>
<file>global.ru.ini</file>
<file>global.zh.ini</file>
<file>global.zh.loc</file>
</qresource>
</RCC>

BIN
res/global.rcc Normal file

Binary file not shown.