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

list types are inconsistent

    XMLWordPrintable

Details

    Description

      list<ObjectType> is a QQmlListProperty which implicitly is a reference to some property or other actual storage

      list<valueType> is a QList that's passed by value.

      Passing by value is what we should do when compiling to C++, as determined by the whole value type saga. Therefore, we need a new container type for object types. The new container should be passed by value, too.

      We can do this either by using a different type modifier, such as "sequence", or by introducing yet another pragma.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes