you use setContextProperty you need to refer to the object by the name you have given it, namely “myModel”. Again making another qml instance of MyClass won’t do you any good.
↧