blob: da5db8e8e688def63e7dfd16cc74b489a3cde6e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import QtQuick 2.0
Item{
id: root
property QtObject qobject : null
property QtObject declarativeitem : null
Component{id: a; QtObject{} }
Component{id: b; Item{} }
Component.onCompleted: {
root.qobject = a.createObject(root);
root.declarativeitem = b.createObject(root);
}
}
|