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
Showing
- share/qtcreator/qml/qmljsdebugger/include/qt_private/qdeclarativedebughelper_p.h 4 additions, 0 deletions...jsdebugger/include/qt_private/qdeclarativedebughelper_p.h
- share/qtcreator/templates/qmlapp/app.pro 1 addition, 1 deletionshare/qtcreator/templates/qmlapp/app.pro
- share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp 20 additions, 0 deletions...ates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp
- src/plugins/qt4projectmanager/wizards/qmlstandaloneapp.cpp 1 addition, 1 deletionsrc/plugins/qt4projectmanager/wizards/qmlstandaloneapp.cpp
Please register or sign in to comment