blob: c75485a7f76064dbb8f3dacb296ae3782cb38c10 (
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.quit(); }
property Connections c: Connections {
target: Qt.application
onAboutToQuit: console.log("End");
}
Component.onCompleted: console.log("Start: " + Qt.application.arguments[1]);
}
|