2 import Qt.test.qobjectApi 1.0 as ModApi
8 property bool testConditionsMet: false
11 ModApi.trackObject(base);
12 ModApi.trackedObject(); // flip the ownership.
13 if (!ModApi.trackedObjectHasJsOwnership())
14 testConditionsMet = false;
16 testConditionsMet = true;
20 // will be triggered during beginCreate of derived
21 test.testConditionsMet = testConditionsMet;