QmlDebug: Fix qmake warning about declarative_debug
authorKai Koehne <kai.koehne@nokia.com>
Fri, 13 Apr 2012 12:32:41 +0000 (14:32 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 16 Apr 2012 07:18:16 +0000 (09:18 +0200)
declarative_debug has been deprecated, and replaced by qml_debug.
In this case we can anyway use the define directly to avoid the warning
on startup.

Change-Id: Ia5ce1ecf698d2232ff46533822372f42db0825bd
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
src/qmltest/qmltest.pro

index 157cfe9..3e3adab 100644 (file)
@@ -4,7 +4,7 @@ TARGET     = QtQuickTest
 QPRO_PWD   = $$PWD
 
 CONFIG += module
-CONFIG += dll warn_on declarative_debug
+CONFIG += dll warn_on
 MODULE_PRI += ../../modules/qt_qmltest.pri
 
 QT +=  testlib testlib-private qml quick  gui
@@ -33,4 +33,4 @@ HEADERS += \
     $$PWD/qtestoptions_p.h
 
 
-DEFINES += QT_BUILD_QUICK_TEST_LIB
\ No newline at end of file
+DEFINES += QT_BUILD_QUICK_TEST_LIB QT_QML_DEBUG_NO_WARNING
\ No newline at end of file