From a05c3b2efbbf240864c7a059d4f632f1e0f0b0f1 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Fri, 26 Jan 2018 16:48:41 +0100 Subject: [PATCH] also install translations to build dir --- guh-plugins.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/guh-plugins.pro b/guh-plugins.pro index f1547fb6..cd7d2b4f 100644 --- a/guh-plugins.pro +++ b/guh-plugins.pro @@ -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