diff options
-rw-r--r-- | app/translations.pri | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/translations.pri b/app/translations.pri index d5616ef..81bd94b 100644 --- a/app/translations.pri +++ b/app/translations.pri @@ -3,13 +3,13 @@ defineReplace(prependAll) { return($$result) } -LRELEASE = lrelease +qtPrepareTool(QMAKE_LRELEASE, lrelease) 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.commands = $$LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT} +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 |