Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.4.0
-
None
Description
QJsonValueRef lacks the toVariant function of QJsonValue.
Thus the following code does not compile.
QJsonArray array;
for (auto it: array) {
QVariant foo = it.toVariant();
}
Attachments
For Gerrit Dashboard: QTBUG-43686 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
108290,3 | Add QJsonValueRef::toVariant() | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |