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

QML ListElement does not work with enums when "as" import is used

    XMLWordPrintable

Details

    • Linux/X11
    • cfd7198d1 (dev), 45d532b78 (6.8), 4d3b4853c (tqtc/lts-6.5)

    Description

      When using a ListElement with enums that are imported with the "as" syntax, the enum is not correctly evaluated by the ListModel (see "example_not_working.qml").

      When the import is used without "as", the example is working as expected (see "example_working.qml").

      Attachments

        1. example_not_working.qml
          0.8 kB
          Philipp Behrens
        2. example_working.qml
          0.7 kB
          Philipp Behrens

        Issue Links

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              pbehrens Philipp Behrens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes