Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.14.1
-
5054bb49a88a8ab76f586f79b6ef62a9142e6c83 (qt/qtdeclarative/5.15) 86b3f39566ec597243718edb87498a653648457a
Description
Documentation in here for the last snippet says it should not work, but it actually does:
https://doc.qt.io/qt-5/qml-variant.html#storing-arrays-and-objects
What doesn't work is if those are exposed QVariantMap and QVariantList properties from QObjects and the workaround is needed for that case, although that is probably not related to this variant type doc