codeman
19th June 2013, 09:25
Hello friends,
when I create my object dynamically like:
var oObj = Qt.createComponent("myobject.qml");
oObj = oObj.createObject(root);
I have no autocompletition in QtCreator is this normal behavior?
When I create it in main.cpp:
engine.rootContext()->setContextProperty("oObj", new MyObject());
I have no problem in autocomplete in editor!
Any suggestion/Informations to this behavior?
Yours,
when I create my object dynamically like:
var oObj = Qt.createComponent("myobject.qml");
oObj = oObj.createObject(root);
I have no autocompletition in QtCreator is this normal behavior?
When I create it in main.cpp:
engine.rootContext()->setContextProperty("oObj", new MyObject());
I have no problem in autocomplete in editor!
Any suggestion/Informations to this behavior?
Yours,