Allow Qt.quit() to be called from QML to abort application