Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Passing a QVector from Cpp to qml
Luckless last edited by
I have a QVector<QPointF> variable in c++ class. I want to access and iterate this variable in canvas that i have in my qml file. Please give an example of how i can achieve this.
Pradeep Kumar last edited by
Hi @Luckless ,
From where do you get the values for QPointF ?
you cannot directly pass QPoint, send it in the list .
refer the below for QMl types which supports.