Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.4.0
Description
The following code:
// C++: class MyClass : public QObject { Q_OBJECT Q_PROPERTY(QVector<QPointF> points ...) } // Qml: Rectangle { x: MyClass.points[0].x y: MyClass.points[0].y }
results in this error:
:-1: error: Test.qml:1:106: Could not compile binding for x: Cannot load property x from conversion to QVariant. :-1: error: Test.qml:2:106: Could not compile binding for y: Cannot load property y from conversion to QVariant.