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.
|For Gerrit Dashboard: QTBUG-79263|
|282527,5||QQmlVMEMetaObject: Don't use QQmlListProperty's reserved fields||5.15||qt/qtdeclarative||Status: MERGED||+2||0|
|282588,19||QQmlListProperty: Add replace and removeLast functions||5.15||qt/qtdeclarative||Status: MERGED||+2||0|
|282589,18||Use the extended QQmlListProperty interface in a few places||5.15||qt/qtdeclarative||Status: MERGED||+2||0|