also install translations to build dir

This commit is contained in:
Michael Zanetti 2018-01-26 16:48:41 +01:00
parent 105ad5fe9b
commit a05c3b2efb

View File

@ -51,6 +51,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 += rsync -a $$PWD/$${entry}/translations/*.qm $$OUT_PWD/translations/;
QMAKE_EXTRA_TARGETS += lrelease
# Verify if building only a selection of plugins