Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105946 qmltc: inline components
  3. QTBUG-107063

qmltc: reject enums in inline components

    XMLWordPrintable

Details

    • f368be4320 (qt/qtdeclarative/dev) f368be4320 (qt/tqtc-qtdeclarative/dev)

    Description

      Reject (for now) enum declarations in inline components: those enums are unusable even in the qml engine as they cannot be used neither inside nor outside the inline component they were defined

      The syntax to using a value of the enum would be

      QmlFileName.InlineComponentName.EnumType.EnumValue // from different qml file, does not work currently
      InlineComponentName.EnumType.EnumValue // from same qml file, does not work currently
      EnumType.EnumValue // inside the inline component defining this, does not work currently

      See also QmlFileName.qml in attachment.

      Attachments

        Issue Links

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

          Activity

            People

              sami.shalayel Sami Shalayel
              sami.shalayel Sami Shalayel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes