fix debug/release library name mixup on mac/win
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Fri, 3 May 2013 17:42:05 +0000 (19:42 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 8 May 2013 13:01:47 +0000 (15:01 +0200)
Task-number: QTBUG-30676
Change-Id: I5c5869ee3050e67390607f94054127bd62ab2ea4
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Liang Qi <liang.qi@digia.com>

tests/auto/qmldevtools/compile/compile.pro

index 1c65daf..0ed113a 100644 (file)
@@ -1,9 +1,12 @@
 option(host_build)
 TARGET = tst_compile
-force_bootstrap: \
+force_bootstrap {
     QT = bootstrap-private
-else: \
+    !build_pass: CONFIG += release
+} else {
     QT = core
+    !build_pass:contains(QT_CONFIG, build_all): CONFIG += release
+}
 QT += qmldevtools-private
 macx:CONFIG -= app_bundle