OSDN Git Service

Build QMLObserver and qmldump only in debug mode
authorLasse Holmstedt <lasse.holmstedt@nokia.com>
Wed, 29 Sep 2010 08:56:34 +0000 (10:56 +0200)
committerLasse Holmstedt <lasse.holmstedt@nokia.com>
Wed, 29 Sep 2010 08:57:16 +0000 (10:57 +0200)
The problem is that we actually should have both debug & release builds,
but we don't have detection at the moment which binary to use.
See QTCREATORBUG-2496

Reviewed-by: Thomas Hartmann
share/qtcreator/qml/qmldump/qmldump.pro
share/qtcreator/qml/qmlobserver/qmlobserver.pro

index ea1fb42..1b86e6a 100644 (file)
@@ -8,6 +8,10 @@ TARGET = qmldump
 QT += declarative
 CONFIG += console
 
+### FIXME: only debug plugins are now supported.
+CONFIG -= release
+CONFIG += debug
+
 TEMPLATE = app
 
 SOURCES += main.cpp
index e4f765c..06df9ec 100644 (file)
@@ -1,6 +1,10 @@
 TEMPLATE = app
 DEFINES += QMLOBSERVER
 
+### FIXME: only debug plugins are now supported.
+CONFIG -= release
+CONFIG += debug
+
 include(qml.pri)
 
 SOURCES += main.cpp