Using QML object from within C++
-
Good day
I've a qml type Details.qml
@import QtQuick 2.0
QtObject {
property string name: ""
property string email: ""
.............
}@Now I'm using this in the qml code and fill it up with data
in main.qml@Details detail {id: d}
//fill the details somehow :)
@
I want to use this object (with id d) in C++ manipulate its dataAny example is more than welcome
Thanks!
-