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

List type initialization not properly recognized

    XMLWordPrintable

Details

    Description

      Adding a list type property like in

      import QtQuick
      
      Window {
          id: root
          width: 640
          height: 480
          visible: true
          title: "Foo"
      
          readonly property list<string> supports: ["foo", "bar"]
      
          Text {
              text: "Supports: " + root.supports[0]
          }
      }
      

      renders into

      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
              cajus Cajus Pollmeier
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes