Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-15387

Alias properties resolve their type as the type of the parent of the aliased property rather than the aliased property type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • QDS 4.8.0
    • Project Storage
    • None

      Whenever a qml component declares alias property, the type of that property is reported as the type of the parent of the aliased property, instead of the type of the aliased property.
      For example, QtQuick.Studio.Components.StarItem specifes:

      property alias fillColor: path.fillColor

      This should be of type QColor, but is reported by project storage as type QQuickShapePath, which is the type of "path" item.
      The type is stored incorrectly like this in the database as well.

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

            bubke Marco Bubke
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes