summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorYuchen Deng <loaden@gmail.com>2012-09-18 07:33:03 +0800
committerQt by Nokia <qt-info@nokia.com>2012-09-18 07:45:12 +0200
commit2084b48a794966bbc0b51de690fa103cfef7e817 (patch)
tree7580d6caa2bb9625358453880deb35eb1c46bdee /mkspecs/features
parent70f3c78218c59d1029ea47d1b4fcc869a747f268 (diff)
Build tools in release mode if using -debug-and-release option
Change-Id: I1d4b69e6954526b4f999e248f4f2cde6a9da26cd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/qt_tool.prf5
1 files changed, 1 insertions, 4 deletions
diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf
index d17e06a7fa..b52362a9b0 100644
--- a/mkspecs/features/qt_tool.prf
+++ b/mkspecs/features/qt_tool.prf
@@ -3,10 +3,7 @@ TEMPLATE = app
CONFIG += qt warn_on console
isEmpty(QMAKE_INFO_PLIST): CONFIG -= app_bundle
-build_all:!build_pass {
- CONFIG -= build_all
- CONFIG += release
-}
+!build_pass:contains(QT_CONFIG, build_all): CONFIG += release
target.path = $$[QT_INSTALL_BINS]
INSTALLS += target