summaryrefslogtreecommitdiffstats
path: root/src/pixeltool
diff options
context:
space:
mode:
authorYuchen Deng <loaden@gmail.com>2012-09-21 20:15:17 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-26 15:01:05 +0200
commit93f1e771b0fde9cd2e9f21b193a721e8ec2cb200 (patch)
tree46e9742d57459ecad3bba5ff0d52001b9269b999 /src/pixeltool
parenta3d38475cd6a3df0e47150b13842472e7819617c (diff)
Build tools in release mode if using -debug-and-release option
Change-Id: I2d0f60e2fcba66460f5488c6f66432b76a06f05a Reviewed-by: Yuchen Deng <loaden@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/pixeltool')
-rw-r--r--src/pixeltool/pixeltool.pro6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pixeltool/pixeltool.pro b/src/pixeltool/pixeltool.pro
index 66249092a..2f0d4d7c1 100644
--- a/src/pixeltool/pixeltool.pro
+++ b/src/pixeltool/pixeltool.pro
@@ -1,11 +1,7 @@
CONFIG += qt warn_on
+!build_pass:contains(QT_CONFIG, build_all): CONFIG += release
QT += widgets network
-build_all:!build_pass {
- CONFIG -= build_all
- CONFIG += release
-}
-
DESTDIR = $$QT.designer.bins
mac {