blob: a10afd3ebecaf51ce741d32ec8d372f6ada84392 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import QtQuick 2.0
Item {
id: root
property bool success: false
Component.onCompleted: {
for (var i = 0; i < 10; ++i) {
Qt.createComponent("RecursiveComponent.qml").createObject(root)
}
var o = Qt.createComponent("TestComponent.qml").createObject(root)
root.success = (o != null)
}
}
|