Hello,
I got this weird problem, I made everything like in this example:
https://felgo.com/cross-platform-development/how-to-expose-a-qt-cpp-class-with-signals-and-slots-to-qml#how-to-access-a-cpp-object-from-qml
and everything works when I connect trough deskop – I can acces to cpp object from:
Data* dataClass = new Data();
engine.rootContext()->setContextProperty("dataObj", dataClass);
and everything is working, but while connecting on the phone, the output is: ReferenceError: dataObj is not defined
It’s weird because I guess this should work on every device, right?