Introduced a CONFIG option that enables declarative debug services
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Mon, 18 Apr 2011 15:20:49 +0000 (17:20 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 2 Aug 2011 06:23:08 +0000 (08:23 +0200)
This replaces the need for applications to explicitly make a call to
enable the debug services, and rather does it in declarative.h when the
'declarative_debug' CONFIG option is used.

Done-with: Kai Koehne
Reviewed-by: Martin Jones
Reviewed-by: Michael Brasser
(cherry-picked from commit 5517cc588c39814530b8bfd957821f55be42acf2)

Change-Id: If180d2b826879d6d02c7be4d3075917815ccf349
Reviewed-on: http://codereview.qt.nokia.com/2435
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
mkspecs/features/declarative_debug.prf [new file with mode: 0644]

diff --git a/mkspecs/features/declarative_debug.prf b/mkspecs/features/declarative_debug.prf
new file mode 100644 (file)
index 0000000..b0248f0
--- /dev/null
@@ -0,0 +1 @@
+contains(QT, declarative):DEFINES += QT_DECLARATIVE_DEBUG