Build tools in release mode if using -debug-and-release option
authorYuchen Deng <loaden@gmail.com>
Mon, 17 Sep 2012 23:33:03 +0000 (07:33 +0800)
committerQt by Nokia <qt-info@nokia.com>
Tue, 18 Sep 2012 05:45:12 +0000 (07:45 +0200)
Change-Id: I1d4b69e6954526b4f999e248f4f2cde6a9da26cd
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
mkspecs/features/qt_tool.prf

index d17e06a..b52362a 100644 (file)
@@ -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