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

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • QDS 4.8
    • Project Storage
    • None

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes