summaryrefslogtreecommitdiffstats
path: root/projects.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-09 17:08:44 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-11 15:52:41 +0200
commit5717e44d47bf5f6be59a59844223ce71b094b08e (patch)
tree6fa8406ee04bf7b3808e1747b9437bb88e5073a2 /projects.pro
parentdfb61e59f0a1c2113cc01c99c3fd052efa2b6c8e (diff)
turn qm generation into a build time target
consequently, remove the qm files from the repository this uses some really black magic to convince qmake to do the right thing. this will be fixed properly in a later version. Reviewed-by: mariusSO
Diffstat (limited to 'projects.pro')
-rw-r--r--projects.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/projects.pro b/projects.pro
index 2596c0a00f..03ce0984e3 100644
--- a/projects.pro
+++ b/projects.pro
@@ -37,7 +37,10 @@ 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
+ SUBDIRS += translations # qm build step
+ }
} else:isEqual(PROJECT, qmake) {
# SUBDIRS += qmake
} else {