summaryrefslogtreecommitdiffstats
path: root/projects.pro
diff options
context:
space:
mode:
Diffstat (limited to 'projects.pro')
-rw-r--r--projects.pro9
1 files changed, 5 insertions, 4 deletions
diff --git a/projects.pro b/projects.pro
index 04acede..389ec71 100644
--- a/projects.pro
+++ b/projects.pro
@@ -10,6 +10,10 @@ cross_compile: CONFIG += nostrip
isEmpty(QT_BUILD_PARTS) { #defaults
QT_BUILD_PARTS = libs tools examples demos docs translations
} else { #make sure the order makes sense
+ contains(QT_BUILD_PARTS, translations) {
+ QT_BUILD_PARTS -= translations
+ QT_BUILD_PARTS = translations $$QT_BUILD_PARTS
+ }
contains(QT_BUILD_PARTS, tools) {
QT_BUILD_PARTS -= tools
QT_BUILD_PARTS = tools $$QT_BUILD_PARTS
@@ -41,10 +45,7 @@ for(PROJECT, $$list($$lower($$unique(QT_BUILD_PARTS)))) {
} else:isEqual(PROJECT, docs) {
contains(QT_BUILD_PARTS, tools):include(doc/doc.pri)
} else:isEqual(PROJECT, translations) {
- contains(QT_BUILD_PARTS, tools) {
- include(translations/translations.pri) # ts targets
- SUBDIRS += translations # qm build step
- }
+ contains(QT_BUILD_PARTS, tools):include(translations/translations.pri)
} else:isEqual(PROJECT, qmake) {
# SUBDIRS += qmake
} else {