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

QML_SEQUENTIAL_CONTAINER doesn't work with lists of object types

    XMLWordPrintable

    Details

      Description

      If you declare a list of object types like this, at least qmlcachegen and qmlsc won't figure out what the value type is:

      class QmlVectorRenderGeometry
      {
          Q_GADGET
          QML_FOREIGN(QList<QmlRenderGeometry*>)
          QML_ANONYMOUS
          QML_SEQUENTIAL_CONTAINER(QmlRenderGeometry*)
      };
      

      Apparently QML_SEQUENTIAL_CONTAINER only works with value types, not with object types as elements of the list.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtqmlteam Qt Qml Team User
              Reporter:
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes