blob: b67e8bb7d8a023ac17e7d544c6d2a14b4a2684f3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import QtQuick 2.0
Item {
id: test
property bool testConditionsMet: false
Component.onCompleted: {
var c = Qt.createComponent("DeleteRootObjectInCreationComponentDerived.qml")
c.createObject(null).setTestConditionsMet(test); // JS ownership, but it will be a RootObjectInCreation until finished beginCreate.
}
}
|