summaryrefslogtreecommitdiffstats
path: root/projects.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-09 17:43:38 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-10 12:57:40 (GMT)
commit5067c64c2356196f2086a97304f1a99309c09d69 (patch)
tree7850ff547ade7f8a1845cda0dd8fdc32ce52d293 /projects.pro
parent006b41c8dd76d6ee33af5459339742fcae2b680f (diff)
downloadQt-5067c64c2356196f2086a97304f1a99309c09d69.zip
Qt-5067c64c2356196f2086a97304f1a99309c09d69.tar.gz
Qt-5067c64c2356196f2086a97304f1a99309c09d69.tar.bz2
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 aa1eb71..497acd0 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 {