don't use absolute paths for lupdate/lrelease

pull/135/head
Michael Zanetti 2018-01-26 19:42:52 +01:00
parent 90527df95e
commit caf7160bde
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ test.commands = LD_LIBRARY_PATH=$$top_builddir/libguh-core:$$top_builddir/libguh
TRANSLATIONS += $$files(translations/*.ts, true)
TRANSLATIONS += $$files(plugins/mock/translations/*.ts, true)
lupdate.depends = FORCE
lupdate.commands = $$[QT_INSTALL_BINS]/lupdate -recursive -no-obsolete $$_FILE_;
lupdate.commands = lupdate -recursive -no-obsolete $$_FILE_;
# make lrelease to compile .ts to .qm
lrelease.depends = FORCE
lrelease.commands = $$[QT_INSTALL_BINS]/lrelease $$_FILE_; \
lrelease.commands = lrelease $$_FILE_; \
rsync -a $$top_srcdir/translations/*.qm $$top_builddir/translations/;
# Install translation files