Details
-
Technical task
-
Resolution: Unresolved
-
P2: Important
-
None
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
Gerrit Reviews
For Gerrit Dashboard: QTBUG-111015 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
558463,2 | QtQml: Add a wrapper builtin for QJsonObject | dev | qt/qtdeclarative | Status: NEW | 0 | +1 |