Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.14
-
ea3bfc91e2a0fc8309f75e960f1891f15d7351c9 (qt/qtdeclarative/5.14)
Description
When trying to use a QSequentialIterable retrieved from a QVariant with a container inside (std::vector, QVector, or QList), assigned as a property binding, it results in a segfault.
QVariant::canConvert(QVariantList) returns true so QVariant::value<QSequentialIterable>() should return a valid QSequentialIterable.
Attached is a test case reproducing the crash.
Note that QVariant::typeName returns the correct name in 5.13, but gives QJSValue in 5.14.
Attachments
Issue Links
- relates to
-
QTBUG-80916 [REG 5.13 ->5.14]Compiling with Qt 5.14 gives: "Unable to assign QJSValue to QVector<QPointF>" , was not in Qt 5.13
- Closed
For Gerrit Dashboard: QTBUG-80609 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
284151,16 | QV4Engine: support conversion of QJSValue to SequenceType | 5.14 | qt/qtdeclarative | Status: MERGED | +2 | 0 |