make depend for resource generation

This commit is contained in:
Syping 2018-06-09 21:16:33 +02:00
parent e3a8edae2d
commit a33bc8145b
7 changed files with 14 additions and 0 deletions

View file

@ -191,6 +191,12 @@ isEqual(QT_MAJOR_VERSION, 4): RESOURCES += res/tr_qt4.qrc
# QT5 ONLY STUFF
isEqual(QT_MAJOR_VERSION, 5): RESOURCES += res/tr_qt5.qrc
# RESOURCE COMPILATION
depend.depends += $$PWD/res/global.qrc
depend.commands += rcc -binary -compress 9 -threshold 0 $$PWD/res/global.qrc -o $$PWD/res/global.rcc
QMAKE_EXTRA_TARGETS += depend
# PROJECT INSTALLATION
isEmpty(GTA5SYNC_PREFIX): GTA5SYNC_PREFIX = /usr/local