blob: 3d67c958bbe7a6f70ab8845f73340187fe005452 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import QtQml 2.0
QtObject {
id: root
property Timer t: Timer { interval: 1; running: true; onTriggered: Qt.exit(0); }
property Connections c: Connections {
target: Qt.application
onAboutToQuit: console.log("End");
}
Component.onCompleted: console.log("Start: " + Qt.application.arguments[1]);
}
|