Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
-
5a4ffa0de0ecc666a514ef60f0149a76d25b040d (qt/qtdeclarative/5.15)
Description
Right now you can add things to QQmlListProperty, clear it, count its entries, and retrieve one. However, it should be possible to replace an entry.
QQmlListProperty is public API and a template. Changing that in a source and binary compatible way is challenging. However, we do have two spare pointers (dummy1 and dummy2) in there. It should be possible to squeeze a ReplaceFunction into those, even in Qt5.
Attachments
Issue Links
- relates to
-
QTBUG-71574 Provide a better way to register sequential and associative types for usage in QML
- Closed
-
QTBUG-84107 Using object list (array) as a model unable to track changes
- Closed
-
QTBUG-81515 Cannot dynamically remove or reorder QML ShapePaths in QML Shape
- Open