Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.0, 5.13.0
-
None
Description
The following code crashes in it.size()
QJsonObject obj { { QStringLiteral("foo"), QStringLiteral("bar") } }; QVariant v(obj); if (v.canConvert<QVariantHash>()) { auto it = v.value<QAssociativeIterable>(); it.size(); qDebug() << "Didn't crash"; }
Attachments
Issue Links
- relates to
-
QTBUG-42016 QSequentialIterable crashes with custom QVariantList converter for QML arrays
- Closed