summaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2012-01-03 09:11:05 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-01 01:23:05 +0200
commit2d532fddf8df6d766423b52344b0c4d1392119ef (patch)
treeed6c18743baca9dfbbefe8efee181c7641de71af /tools/qml
parenta440b8baf6b162041a3f4ae411dff81454cff2ac (diff)
Remove build_all when target is same for debug and release
Change build rules for projects where both debug and release target are the same file. For these, it makes no sense building both targets, as they overwrite each other. Now build only release target, when build_all is used. Change-Id: Iffd1076028b1cc91e8151c346bf4761772dafe65 Reviewed-by: Simo Fält <simo.falt@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tools/qml')
-rw-r--r--tools/qml/qml.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qml/qml.pro b/tools/qml/qml.pro
index 3d1b84bb74..272242e3dc 100644
--- a/tools/qml/qml.pro
+++ b/tools/qml/qml.pro
@@ -15,6 +15,11 @@ DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
target.path = $$[QT_INSTALL_BINS]
INSTALLS += target
+build_all:!build_pass {
+ CONFIG -= build_all
+ CONFIG += release
+}
+
wince* {
QT += xml