05-20-2013 06:18 AM
I am trying to modify the text of button using my c++ code but for some reason nothing happens.My complete code is pasted at this location http://stackoverflow.com/questions/16646572/cant-c
05-20-2013 07:32 AM
This doesn't seem like Momentics-generated code. Why aren't you using QmlDocument class and createRootObject function?
This thread has an example:
Btw, I suspect that wizard-generated code is actually residing in Popop class
and you're creating a second QML instance in main() then working with that second instance which isn't used after that, so the changes aren't appearing.