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

Cannot create a list property of a custom QML object type

XMLWordPrintable

      I'm trying to create a list property containing my own QML objects, e.g.:
      import QtQuick 2.1
      import system.items 1.0 as System

      Rectancle {
      ...
      property list<System.QMLDboAnalog> someObjectList:
      [
      System.QMLDboAnalog

      { id: averageValue objectID: averageValueObjectID }

      // Path Value Objects
      System.QMLDboAnalog

      { id: valuePath1 objectID: pathValueObjectIDList[0] }

      ]

      QtCreator does not like the "System." prefix in the list type.
      Am I doing something wrong here?

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

            aalpert Alan Alpert
            roffaboffa Rolf Moholth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes