blob: 89c9242110f0128537355e197bc93b6626067293 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import QtQml 2.15
QtObject {
id: root
Component.onCompleted: {
let comp = Qt.createComponent("dynamic.qml");
let inst = comp.createObject(root, { testObj: new Set(), });
objectName = inst.use();
}
}
|