6 property bool test: false
7 property QtObject objectProperty
9 onObjectPropertyChanged: {
13 property Component c: Component {
21 root.objectProperty = root.c.createObject(root);
25 root.test = false; // reset test
26 root.objectProperty.destroy(100);
27 // in cpp, wait objectProperty deletion, inspect "test" and "objectProperty"
28 // test should be true and value of objectProperty should be zero.