From 2084b48a794966bbc0b51de690fa103cfef7e817 Mon Sep 17 00:00:00 2001 From: Yuchen Deng Date: Tue, 18 Sep 2012 07:33:03 +0800 Subject: [PATCH] Build tools in release mode if using -debug-and-release option Change-Id: I1d4b69e6954526b4f999e248f4f2cde6a9da26cd Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt_tool.prf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf index d17e06a..b52362a 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 -- 2.7.4