Passing a vector to qml
Solved
QML and Qt Quick
-
Hi,
I have a qml app which displays a time-series plot. From the c++ backend, I have a list of marks, which each have a time value and a string label. I would like to draw these marks over the plot (embedded in my qml file) using qml rectangles.
How can I pass this list to qml?
-
Hi,
i think this will solve your problem.
https://stackoverflow.com/questions/35749873/how-to-pass-a-list-vector-or-array-as-argument-in-invokemethod-function/35751146