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

Alias properties exposing objects from components have null propertyTypeId

    XMLWordPrintable

Details

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

    Description

      For example, if the project has this component (also attached as file), the type of the alias property in it is not properly resolved:

      import QtQuick
      Rectangle {    
          property alias redRect: redRect
      
          width: 200
          height: 200
      
          Rectangle {
              id: redRect
              width: 100
              height: 100
              color: "#ff0000"
          }
      } 

      The redRect property in the above component gets null propertyTypeId in database, so is impossible to determine what the property type is at runtime.

      Attachments

        Issue Links

          For Gerrit Dashboard: QDS-15530
          # Subject Branch Project Status CR V

          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