Details
-
Task
-
Resolution: Invalid
-
Not Evaluated
-
None
-
None
-
None
Description
Calling Qt.quit() in QML does not automatically result in application exiting, but by default just emits signal QDeclarativeEngine::quit(). C++ application developers are free to implement the application exit how they please (QML application exit does not necessarily mean process exit in all environments). For Embedded QML Standalone demos, calling Qt.exit() in QML should result in a call to QApplication::quit().
QObject::connect(view.engine(), SIGNAL(quit()), &application, SLOT(quit()));