From 2dc7d885e72e56232f704d7fe8138c283f1421de 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 f90ff2d8..5b27f4a3 100644 --- a/guh-plugins.pro +++ b/guh-plugins.pro @@ -48,6 +48,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