don't use the absolute path
This commit is contained in:
parent
2dc7d885e7
commit
fb74118c40
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user