Debugger: Remove handling of QT_DECLARATIVE_DEBUG macro
authorKai Koehne <kai.koehne@digia.com>
Mon, 1 Jul 2013 12:10:22 +0000 (14:10 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 2 Jul 2013 12:59:55 +0000 (14:59 +0200)
This was added originally to keep older Qt Creator versions working.
However, any newer versions automatically set QT_QML_DEBUG too, and
checking for both actively prevented selectively enabling QtQuick1 or
QtQuick2 debuggers only.

Change-Id: I4d4a984958ef3430ebe05b267bd87185005bbe51
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
src/qml/debugger/qqmldebug.h

index baf4280..d6b6bb0 100644 (file)
@@ -55,7 +55,7 @@ struct Q_QML_EXPORT QQmlDebuggingEnabler
 // Execute code in constructor before first QQmlEngine is instantiated
 #if defined(QT_QML_DEBUG_NO_WARNING)
 static QQmlDebuggingEnabler qQmlEnableDebuggingHelper(false);
-#elif defined(QT_QML_DEBUG) || defined(QT_DECLARATIVE_DEBUG)
+#elif defined(QT_QML_DEBUG)
 static QQmlDebuggingEnabler qQmlEnableDebuggingHelper(true);
 #endif