Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31723

QObjectList is not understood by QML2

XMLWordPrintable

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            special John Brooks
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes