Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29772

:when referring to enum property in a qml file QtCreator does not autocomplete QML enums

    XMLWordPrintable

Details

    Description

      Considerating the code below. The QML file named  TextE.qml .The alignment1 refer to TextE.Fruit.Heading, but when I type "TextE.F" or "TextE.Fruit.H" the rest parts doesn't show up in the property list. So there is no aotucomletion at all.

      import QtQuick
           Item {
              enum Fruit
              {
                  Normal,
                  Heading
              }
            property int  alignment1:  TextE.Fruit.Heading
            property int  alignment2:  TextE.Normal
          }
      

      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
              nigel.lu Nigel Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes