1 2 3 4 5 6 7
import QtQuick 2.0 QtObject { property int returnCode: -1 Component.onCompleted: Qt.exit(returnCode) }