Fix CONFIG+=declarative_debug if declarative is implicitly added
authorKai Koehne <kai.koehne@nokia.com>
Wed, 11 Jan 2012 10:26:38 +0000 (11:26 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Jan 2012 07:31:17 +0000 (08:31 +0100)
Change 1fb5600c5eb2ee2af8a766dea5b325aee6dd43b4 already added
declarative-debug as a way to include declarative, but nowadays
there's also qquick, and qquick-private ...

Just always set the define. The user has choosen to write
CONFIG+=declarative_debug in the first place and an additional
define if declarative isn't used does no harm.

Change-Id: Ica6142e70b12950fc1d9e0bf7b94f747c843a17f
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
mkspecs/features/declarative_debug.prf

index 7a9ba9a..59e45f6 100644 (file)
@@ -1 +1 @@
-contains(QT, declarative)|contains(QT, declarative-private):DEFINES += QT_DECLARATIVE_DEBUG
+DEFINES += QT_DECLARATIVE_DEBUG