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

AOT-compiled code crashes when accessing members of QList<QVariantMap>

XMLWordPrintable

    • cca07aa78 (dev), 1ef769fcb (6.10), f8b31ecdd (6.9), 7690659b3 (tqtc/lts-6.8)

      If you have a C++ class with a Q_PROPERTY of type QList<QVariantMap> and you try to retrieve a member of those QVariantMaps from QML, you get a crash. This is because the access into the list results in an optional value and we so far only resolve the optional values when lookup up properties of value types.

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

            ulherman Ulf Hermann
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes