diff --git a/guh-plugins.pro b/guh-plugins.pro index 5b27f4a3..541b7e3e 100644 --- a/guh-plugins.pro +++ b/guh-plugins.pro @@ -47,7 +47,7 @@ QMAKE_EXTRA_TARGETS += lupdate # make lrelease to build .qm from .ts lrelease.depends = FORCE -for (entry, PLUGIN_DIRS):lrelease.commands += $$[QT_INSTALL_BINS]/lrelease $$files($$PWD/$${entry}/translations/*.ts, true); +for (entry, PLUGIN_DIRS):lrelease.commands += lrelease $$files($$PWD/$${entry}/translations/*.ts, true); for (entry, PLUGIN_DIRS):lrelease.commands += rsync -a $$PWD/$${entry}/translations/*.qm $$OUT_PWD/translations/; QMAKE_EXTRA_TARGETS += lrelease diff --git a/plugins.pri b/plugins.pri index 2f142ef2..28c4195b 100644 --- a/plugins.pri +++ b/plugins.pri @@ -48,7 +48,7 @@ QMAKE_EXTRA_COMPILERS += externplugininfo TRANSLATIONS *= $$files($${PWD}/$${TARGET}/translations/*ts, true) lupdate.depends = FORCE lupdate.depends += plugininfo -lupdate.commands = $$[QT_INSTALL_BINS]/lupdate -recursive -no-obsolete $$PWD/"$$TARGET"/"$$TARGET".pro; +lupdate.commands = lupdate -recursive -no-obsolete $$PWD/"$$TARGET"/"$$TARGET".pro; QMAKE_EXTRA_TARGETS += lupdate translations.path = /usr/share/guh/translations