Don't change the executable name if only build in debug mode on Windows
authorCharles Yin <charles.yin@nokia.com>
Mon, 19 Mar 2012 03:40:42 +0000 (13:40 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Mar 2012 11:02:48 +0000 (12:02 +0100)
Change-Id: I298c14d6ea5829d23a4f8b57b9c2f30546e12e80
Reviewed-by: Martin Jones <martin.jones@nokia.com>
tools/qmlplugindump/qmlplugindump.pro

index 7662fd7..9cda825 100644 (file)
@@ -23,15 +23,15 @@ macx: QMAKE_INFO_PLIST = Info.plist
 
     contains(QT_CONFIG,debug):contains(QT_CONFIG,release) {
         CONFIG += debug_and_release build_all
+        CONFIG(debug, debug|release) {
+           win32: TARGET = $$join(TARGET,,,d)
+        }
     } else {
         contains(QT_CONFIG,debug): CONFIG += debug
         contains(QT_CONFIG,release): CONFIG += release
     }
 }
 
-CONFIG(debug, debug|release) {
-    win32: TARGET = $$join(TARGET,,,d)
-}
 
 target.path = $$[QT_INSTALL_BINS]
 INSTALLS += target