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

QObjectList is not understood by QML2

    XMLWordPrintable

Details

    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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes