QtQuickApp: Tweak template to enable Meego booster
Add support for the meego booster. This requires - Telling qmake to link to right libraries - Exporting main method - using QApplication, QDeclarativeView objects from cache - avoiding QCoreApplication::applicationDirPath() To keep compatibility, QmlApplicationViewer is still derived from QDeclarativeView. However, if the app booster is used it merely acts as a proxy to the view from the cache. Change-Id: I83e285d9ca3c2cfd86d1711e1fb93c72589ba14d Reviewed-on: http://codereview.qt.nokia.com/3730 Reviewed-by:Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Alessandro Portale <alessandro.portale@nokia.com> Reviewed-by:
Christian Kandeler <christian.kandeler@nokia.com>
Showing
- share/qtcreator/templates/qtquickapp/app.pro 5 additions, 1 deletionshare/qtcreator/templates/qtquickapp/app.pro
- share/qtcreator/templates/qtquickapp/main.cpp 8 additions, 8 deletionsshare/qtcreator/templates/qtquickapp/main.cpp
- share/qtcreator/templates/qtquickapp/qmlapplicationviewer/qmlapplicationviewer.cpp 65 additions, 20 deletions.../qtquickapp/qmlapplicationviewer/qmlapplicationviewer.cpp
- share/qtcreator/templates/qtquickapp/qmlapplicationviewer/qmlapplicationviewer.h 6 additions, 1 deletion...es/qtquickapp/qmlapplicationviewer/qmlapplicationviewer.h
- share/qtcreator/templates/qtquickapp/qmlapplicationviewer/qmlapplicationviewer.pri 4 additions, 0 deletions.../qtquickapp/qmlapplicationviewer/qmlapplicationviewer.pri
- src/plugins/qt4projectmanager/wizards/qtquickapp.cpp 1 addition, 1 deletionsrc/plugins/qt4projectmanager/wizards/qtquickapp.cpp
Please register or sign in to comment