Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.3.2
-
None
-
Windows 7 Ultimate using the MinGw toolchain.
Description
Data Type Conversion Between QML and C++
The above linked documentation page has a section on QVariantList support. The example has this code
QVariantList list;
list << 10 << Qt::green << "bottles";
Trying to put Qt::green into a QVariantList generates a list of errors shown in the attached image.
Attachments
For Gerrit Dashboard: QTBUG-42006 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
97608,2 | Fix non-compiling QtQml code snippet | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |