Qt 6.12 LTS is out! See what's new in the release
blog
How to pass QVector<Qpolygon> from C++ to Qml
-
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.