blob: daa5d3c16744ef73fd22a87cd19bdd31ab4379f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import QtQuick 2.0
Item {
id: root
width: 100
height: 100
function createChild() {
Qt.createQmlObject("import QtQuick 2.0;" +
"Item { width: parent.width; }", root);
}
}
|