summaryrefslogtreecommitdiff
path: root/projects.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-09 18:43:38 +0100
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-10 13:57:40 +0100
commit5067c64c2356196f2086a97304f1a99309c09d69 (patch)
tree7850ff547ade7f8a1845cda0dd8fdc32ce52d293 /projects.pro
parent006b41c8dd76d6ee33af5459339742fcae2b680f (diff)
downloadqt4-tools-5067c64c2356196f2086a97304f1a99309c09d69.tar.gz
make qm file creation a regular build step
this is mostly a revert of the revert of the previous attempt, only that this time we have a bootstrapped lrelease which won't blow up for cross-compilations. Reviewed-By: Jason McDonald Task-Id: QTBUG-4939
Diffstat (limited to 'projects.pro')
-rw-r--r--projects.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/projects.pro b/projects.pro
index aa1eb71086..497acd0fbb 100644
--- a/projects.pro
+++ b/projects.pro
@@ -45,7 +45,12 @@ 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)
+ contains(QT_BUILD_PARTS, tools) {
+ include(translations/translations.pri) # ts targets
+ } else {
+ SUBDIRS += tools/linguist/lrelease
+ }
+ SUBDIRS += translations # qm build step
} else:isEqual(PROJECT, qmake) {
# SUBDIRS += qmake
} else {