Debugger: Move QT_DECLARATIVE_DEBUG handling out of qdeclarative.h
authorKai Koehne <kai.koehne@nokia.com>
Wed, 31 Aug 2011 08:01:19 +0000 (10:01 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 2 Sep 2011 11:13:21 +0000 (13:13 +0200)
commit6cb39fb829b78b5f6e9751283c7cd50400821e2a
tree555042c61737e941d351cd60befaaaf1c213140d
parenta439673745ea1c92fe236c3928c34fa3f0637eec
Debugger: Move QT_DECLARATIVE_DEBUG handling out of qdeclarative.h

Apps don't have to (directly or indirectly) include qdeclarative.h.
Instead, move the static instance to qdeclarativeengine.h, and
qdeclarativeview.h, qsgview.h (which instantiate their own engine).

Change-Id: I8b3e63ad4f134969734a2cc712395145d90e0dfa
Reviewed-on: http://codereview.qt.nokia.com/3941
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/debugger/debugger.pri
src/declarative/debugger/qdeclarativedebug.h [new file with mode: 0644]
src/declarative/items/qsgview.h
src/declarative/qml/qdeclarative.h
src/declarative/qml/qdeclarativeengine.h
src/qtquick1/util/qdeclarativeview.h