blob: 8f29b53ca507ed8e9ca6a227d96e57ea8eabf61e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import QtQuick 2.0
Item {
property var p: null
Component.onCompleted: {
var c = Qt.createComponent('VMEComponent.qml')
p = c.createObject()
c.destroy()
}
Component.onDestruction: {
p.destroy()
}
}
|