Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.14
-
Fix Version/s: 5.14.1, 5.15.0 Alpha
-
Component/s: QML: Declarative and Javascript Engine
-
Labels:
-
Commits: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
-