How to pass QVector<Qpolygon> from C++ to Qml
Unsolved
QML and Qt Quick
-
When I try to pass QVector<QPolygon> as a signal or Q_PROPERTY to QML, I am not able to read and it shows QVariant(QVector<QPolygon>) in QML.
I tried with QVariantList instead of QVector it works.
But I need QVector<QPolygon> as per our design to pass to QML and draw using each polygon.
Thanks in advance.