Debugger: Fix warnings about declarative_debug in autotests
authorKai Koehne <kai.koehne@nokia.com>
Wed, 25 Apr 2012 06:40:48 +0000 (08:40 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 25 Apr 2012 11:07:56 +0000 (13:07 +0200)
declarative_debug is deprecated and will be removed eventually.

Change-Id: I1f5a61c91c25e37ff39e9154bcaa3cd74d60e109
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
tests/auto/qml/debugger/qqmldebugclient/qqmldebugclient.pro
tests/auto/qml/debugger/qqmldebugservice/qqmldebugservice.pro
tests/auto/qml/debugger/qqmlenginedebugservice/qqmlenginedebugservice.pro
tests/auto/qml/debugger/qqmlinspector/app/app.pro
tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.pro
tests/auto/qml/debugger/qqmlprofilerservice/qqmlprofilerservice.pro
tests/auto/qml/debugger/qv8profilerservice/qv8profilerservice.pro

index 60355f1..bb20940 100644 (file)
@@ -10,6 +10,8 @@ SOURCES += tst_qqmldebugclient.cpp \
 INCLUDEPATH += ../shared
 include(../shared/debugutil.pri)
 
-CONFIG += declarative_debug
+DEFINES += QT_QML_DEBUG_NO_WARNING
+
+CONFIG += qml_debug
 
 QT += qml-private testlib
index bbf05b1..39d9903 100644 (file)
@@ -11,6 +11,8 @@ INCLUDEPATH += ../shared
 include(../../../shared/util.pri)
 include(../shared/debugutil.pri)
 
-CONFIG += parallel_test declarative_debug
+CONFIG += parallel_test
+
+DEFINES += QT_QML_DEBUG_NO_WARNING
 
 QT += qml-private testlib
index 0212d11..c48ddcc 100644 (file)
@@ -13,6 +13,8 @@ INCLUDEPATH += ../shared
 include(../../../shared/util.pri)
 include(../shared/debugutil.pri)
 
-CONFIG += parallel_test declarative_debug
+CONFIG += parallel_test
+
+DEFINES += QT_QML_DEBUG_NO_WARNING
 
 QT += core-private qml-private quick-private v8-private testlib
index ce8bfc6..26831bc 100644 (file)
@@ -2,7 +2,7 @@ TARGET = app
 DESTDIR = $$OUT_PWD
 QT += qml quick
 
-CONFIG += declarative_debug
+CONFIG += qml_debug
 macx:CONFIG -= app_bundle
 
 SOURCES += main.cpp
index 6d47581..f6973ba 100644 (file)
@@ -7,6 +7,6 @@ SOURCES += tst_qqmlinspector.cpp
 INCLUDEPATH += ../shared
 include(../shared/debugutil.pri)
 
-CONFIG += parallel_test declarative_debug
+CONFIG += parallel_test
 
 QT += qml testlib
index a83590c..2a665a0 100644 (file)
@@ -10,6 +10,6 @@ include(../shared/debugutil.pri)
 
 OTHER_FILES += data/test.qml
 
-CONFIG += parallel_test declarative_debug
+CONFIG += parallel_test
 
 QT += core qml testlib
index 13d39c0..99d3a3e 100644 (file)
@@ -10,7 +10,7 @@ include(../shared/debugutil.pri)
 
 OTHER_FILES += data/test.qml
 
-CONFIG += parallel_test declarative_debug
+CONFIG += parallel_test
 
 QT += qml testlib