Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.1, 5.9.4, 5.11.0 Beta 1
-
Qt 5.4.1 on Linux Mint 17
Description
Having a QStringList property and accessing it from QML results in a JS Object with numbered keys rather than an Array. Using a QVariantList works as expected.
QStringList:
{"0":"test","1":"foo"}
QVariantList:
["test", "foo"]
This seems to be a regression in Qt 5.4.1
Attachments
For Gerrit Dashboard: QTBUG-45018 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
226370,2 | Fix JSON.stringify with sequence types | 5.11 | qt/qtdeclarative | Status: MERGED | +2 | 0 |