12-20-2012 06:31 PM
Actually, one other difference is that you put:
MyClass *myObject = new MyClass(); qml->setContextProperty("myObject",myObject);
after loading up the scene graph. it should probably be before that (it may need access to myObject to render the page).
Nothing to do with the problem you are having, but you might want to look at that.