OSDN Git Service

QmlApp template: Use new 4.7.1 API to enable qml debugging
authorKai Koehne <kai.koehne@nokia.com>
Wed, 3 Nov 2010 09:44:40 +0000 (10:44 +0100)
committerKai Koehne <kai.koehne@nokia.com>
Wed, 3 Nov 2010 13:06:44 +0000 (14:06 +0100)
commit2ac91abd306215d44d52c70ee6bff4366e16f921
tree07e72fa56fa1b392f2cd7d9b426c4ca433724363
parent0a03f8325e1372b6542404988a391ae8bc6c162d
QmlApp template: Use new 4.7.1 API to enable qml debugging

Qml debugging is now disabled by default, and has to be enabled
explicitly (b2016bbfc9). This has to be done before the
QDView/QDEngine is instantiated ...

The patch introduces a static create method to QmlApplicationViewer,
so that the setup can be hidden from the users main file.

Reviewed-by: Alessandro Portale
share/qtcreator/qml/qmljsdebugger/include/qt_private/qdeclarativedebughelper_p.h
share/qtcreator/templates/qmlapp/app.pro
share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp
src/plugins/qt4projectmanager/wizards/qmlstandaloneapp.cpp