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

List type initialization not properly recognized

XMLWordPrintable

      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

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

            qtqmlteam Qt Qml Team User
            cajus Cajus Pollmeier
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes