-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.6.0
-
None
-
186a38c683cbec6a2a141245d5e428d85c073b8f
For code like this:
Item {
function createStuff() {
var comp = createComponent("MyComponent.qml");
var obj = comp.createObject()
}
}
A temporary context is created for the function (see QmlVMEMetaObject), which used by createComponent.
We should add the ability to flag a context as temporary, and then make use of that knowledge in createComponent.