[solved] How to quit custom app programmatically (Qml)?
Hello,
Developing an app and having trouble quitting app. Not able to spot it from docs. I'm trying to do it like this:
BackgroundItem {
onClicked: Qt.quit()
Label {
text: "Quit"
}
}
But get following result:
[W] QQmlEnginePrivate::sendQuit:1687 - Signal QQmlEngine::quit() emitted, but no receivers connected to handle it.