if i delete the snippet and click on the button to close the app:
@
Rectangle { ... MouseArea { anchors.fill: parent; onClicked: Qt.quit() } }
@
there is this error:
@
Signal QDeclarativeEngine::quit() emitted, but no receivers connected to handle it.
@