aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-05-24 15:37:46 +0200
committerTobias Hunger <tobias.hunger@qt.io>2019-05-27 12:12:23 +0000
commit47f8fb0600a6a9f6e4fc47f8833b9ba015d8a31b (patch)
tree2a5f92daa7d6b6f7487d41ce2f2b2b3b7cd0c3a5
parentb1274d4b9cf2e4d5fc9859f17912fe5281f4d83e (diff)
Translations: Fix generation of directory list to translate
Change-Id: Ib010fa74495a98eddce333d74e447bca9db34afc Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--share/qtcreator/translations/translations.pro10
1 files changed, 4 insertions, 6 deletions
diff --git a/share/qtcreator/translations/translations.pro b/share/qtcreator/translations/translations.pro
index 22ceccc832..fff62c3f3d 100644
--- a/share/qtcreator/translations/translations.pro
+++ b/share/qtcreator/translations/translations.pro
@@ -34,7 +34,7 @@ else: \
for(dir, $$list($$files($$IDE_SOURCE_TREE/share/qtcreator/templates/wizards/*, true))):CUSTOMWIZARD_FILES += $$files($$dir/wizard.xml)
CUSTOMWIZARD_FILES = \"$$join(CUSTOMWIZARD_FILES, "|$$PREFIX", "$$PREFIX")\"
-for(file, $$list($$files($$IDE_SOURCE_TREE/src/share/qtcreator/externaltools/*))):EXTERNALTOOLS_FILES += $$files($$file)
+for(file, $$list($$files($$IDE_SOURCE_TREE/src/share/qtcreator/externaltools/*.xml))):EXTERNALTOOLS_FILES += $$files($$file)
EXTERNALTOOLS_FILES = \"$$join(EXTERNALTOOLS_FILES, "|$$PREFIX", "$$PREFIX")\"
for(file, $$list($$files($$IDE_SOURCE_TREE/share/qtcreator/snippets/*))):SNIPPETS_FILES += $$files($$file)
@@ -50,14 +50,12 @@ QMAKE_EXTRA_TARGETS += extract
plugin_sources = $$files($$IDE_SOURCE_TREE/src/plugins/*)
plugin_sources ~= s,^$$re_escape($$IDE_SOURCE_TREE/),,g$$i_flag
plugin_sources -= src/plugins/plugins.pro \
- src/plugins/helloworld \ # just an example
- # the following ones are dead
- src/plugins/qtestlib \
- src/plugins/snippets \
- src/plugins/regexp
+ src/CMakeLists.txt \
+ src/plugins/helloworld
shared_sources = $$files($$IDE_SOURCE_TREE/src/shared/*)
shared_sources ~= s,^$$re_escape($$IDE_SOURCE_TREE/),,g$$i_flag
shared_sources -= \
+ src/CMakeLists.txt \
src/shared/qbs \
src/shared/shared.pro
sources = src/app src/libs $$plugin_sources $$shared_sources share/qtcreator/qmldesigner