5 // We set a and b to ensure that onCompleted is executed after bindings and
6 // constants have been assigned
7 property int a: Math.min(6, 7)
8 Component.onDestruction: console.log("Destruction " + a + " " + nestedObject.b)
10 objectProperty: OnDestructionType {
11 qmlobjectProperty: MyQmlObject {
14 Component.onDestruction: console.log("Destruction " + a + " " + nestedObject.b)