Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.1
-
None
Description
In Qt4, it was possible to register QObjectList as a metatype and expose it to QML, with correct list behavior and conversion to QVariantList.
In Qt5/QML2, even as a registered type, QObjectList seems to be treated as undefined by QML. QList<QObject*> works as expected.
https://github.com/nemomobile/libcommhistory/pull/23/files shows the code in question
Attachments
Issue Links
- relates to
-
QTBUG-42277 urllist type is not exposed (even to QML)
-
- Open
-
-
QTBUG-29086 Javascript array operations on QVariantList property do nothing (have fix)
-
- Closed
-