Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
d73409cd3 (dev), 8dbcea319 (dev), 9c113e8ec (dev)
Description
If you have a property of type QList<QJsonObject>, qmllint will complain about not knowing QJsonObject.
The engine can however handle JSON, and will happily convert it into JS objects. So qmllint shouldn't warn there. We need to teach qmllint to handle QJsonObject the same as it would handle QVariant (same for QJsonArray and QVariantList).
Attachments
For Gerrit Dashboard: QTBUG-111015 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
558463,4 | QtQml: Add a wrapper builtin for QJsonObject | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
561082,5 | Load a QJsonArray property as a Sequence | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
561083,6 | Add a wrapper builtin for QJsonArray | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |