diff options
Diffstat (limited to 'app/translations.pri')
-rw-r--r-- | app/translations.pri | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/translations.pri b/app/translations.pri index 81bd94b..9433f0e 100644 --- a/app/translations.pri +++ b/app/translations.pri @@ -8,9 +8,15 @@ TRANSLATIONS = $$prependAll(LANGUAGES, $$PWD/translations/$${TARGET}_,.ts) qm.depends = $${TRANSLATIONS} qm.input = TRANSLATIONS -qm.output = $$OUT_PWD/../package/root/translations/${QMAKE_FILE_BASE}.qm +qm.output = $$OUT_PWD/translations/${QMAKE_FILE_BASE}.qm qm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT} qm.name = LRELEASE ${QMAKE_FILE_IN} qm.CONFIG += no_link QMAKE_EXTRA_COMPILERS += qm PRE_TARGETDEPS += compiler_qm_make_all + +target_translations.path = /usr/share/$${TARGET} +target_translations.files += $$prependAll(LANGUAGES, $${OUT_PWD}/translations/$${TARGET}_,.qm) +target_translations.CONFIG = no_check_exist + +INSTALLS += target_translations |