How to pass QString array from .cpp to string array in qml
QML and Qt Quick
2
Posts
2
Posters
1.6k
Views
1
Watching
-
Hello and welcome,
basically you can pass a C++ Object to Qt using the setContextProperty method. For further informations i would recommend you to check our this qt doc:
http://doc.qt.io/qt-5/qtqml-cppintegration-contextproperties.htmlIt should answer your question and explain it better than i could =)
If you have got more questions you are free to ask here!Greetings