Details
-
Type:
Suggestion
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 5.4.0
-
Fix Version/s: None
-
Component/s: Core: Other
-
Labels: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();
}