diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-30 22:23:12 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-30 22:23:12 (GMT) |
commit | 8dc61ad98f4904ccab0ffc2a2b0e0e8f71053156 (patch) | |
tree | caf9f845d3ff0f67960e50c56ca419bd233e86a7 /demos/embedded/qmleasing | |
parent | 998569ea293741f16e0a7fb4a7a249e902966bf7 (diff) | |
parent | ff00f606eb76772c1197787713d400cce56bd6c9 (diff) | |
download | Qt-8dc61ad98f4904ccab0ffc2a2b0e0e8f71053156.zip Qt-8dc61ad98f4904ccab0ffc2a2b0e0e8f71053156.tar.gz Qt-8dc61ad98f4904ccab0ffc2a2b0e0e8f71053156.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Remove debug.
Snake: Don't use Behavior with states.
QML Viewer should be put under QtDemos instead of QtExamples folder in Symbian app menu
Fix application exiting in embedded qml examples
QDeclarativeDebug: Destroy incoming connections if already connected
Fix VisualDataModel model update handling when rootIndex is specified.
Improve test reliability when running in parallel with other tests.
Improve stability of test on loaded hw.
Improve stability of test on loaded hw.
Diffstat (limited to 'demos/embedded/qmleasing')
-rw-r--r-- | demos/embedded/qmleasing/deployment.pri | 2 | ||||
-rw-r--r-- | demos/embedded/qmleasing/qmleasing.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/demos/embedded/qmleasing/deployment.pri b/demos/embedded/qmleasing/deployment.pri index 984f5c8..d3621cb 100644 --- a/demos/embedded/qmleasing/deployment.pri +++ b/demos/embedded/qmleasing/deployment.pri @@ -4,5 +4,5 @@ symbian { qmleasing_uid3 = A000E3FE qmleasing_files.path = $$APP_PRIVATE_DIR_BASE/$$qmleasing_uid3 } -qmleasing_files.sources = $$qmleasing_src/easing.qml +qmleasing_files.sources = $$qmleasing_src/easing.qml $$qmleasing_src/content DEPLOYMENT += qmleasing_files diff --git a/demos/embedded/qmleasing/qmleasing.cpp b/demos/embedded/qmleasing/qmleasing.cpp index d326468..713fe67 100644 --- a/demos/embedded/qmleasing/qmleasing.cpp +++ b/demos/embedded/qmleasing/qmleasing.cpp @@ -42,6 +42,7 @@ #include <QtCore/QFileInfo> #include <QtGui/QApplication> #include <QtDeclarative/QDeclarativeView> +#include <QtDeclarative/QDeclarativeEngine> int main(int argc, char *argv[]) { @@ -51,6 +52,7 @@ int main(int argc, char *argv[]) QDeclarativeView view; view.setSource(QUrl(mainQmlApp)); view.setResizeMode(QDeclarativeView::SizeRootObjectToView); + QObject::connect(view.engine(), SIGNAL(quit()), &application, SLOT(quit())); #if defined(QT_KEYPAD_NAVIGATION) QApplication::setNavigationMode(Qt::NavigationModeCursorAuto); |