Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.10
-
None
Description
MultiPointTouchArea { id: mpta touchPoints: [ TouchPoint { property color color: "red" }, TouchPoint { property color color: "orange" }, TouchPoint { property color color: "lightsteelblue" }, TouchPoint { property color color: "green" } ] } Repeater { model: mpta.touchPoints.count ... }
MPTA's touchPoints are a QQmlListProperty. The QQmlListProperty has a CountFunction so it should be possible to get the length of the list somehow. But regardless whether I try to use count, size, or length, I get this warning:
depends on non-NOTIFYable properties: QQuickMultiPointTouchArea::touchPoints
(and this is the reason tests/manual/touch/mpta-crosshairs.qml has a hard-coded 10 for the Repeater's model, instead)
Attachments
Issue Links
- resulted in
-
QTBUG-106587 Add a way to make QML use QList<QObject *> as storage for object lists
-
- Reported
-