diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2017-11-30 15:54:16 +0900 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2017-11-30 16:05:43 +0900 |
commit | 06ca4be06cc082c77565f1828fedce11e3510b6b (patch) | |
tree | 0cdbfb26f05b4c1886e4f0ddb1ae39a461f3636f /app | |
parent | 464e6c7f6056cec8a1d150216338d58a827307e6 (diff) |
Fix path to Qt5Tool:lrelease for native
Makefile for dashboard generated by qmake looked at
lrelease in the host environment, therefore dashboard's
build should fail if 'lrelease' is not installed in the host.
Fix project include file for dashboard becoming able to
generate correct path for 'lrelease'
from
related path: lrelease
to
absolute path: <sysroot>/lrelease
Change-Id: Ia46a50a6b67d96a3a7234c840ad22bce0b22959d
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'app')
-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 |