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

Alias properties exposing objects from components have null propertyTypeId

XMLWordPrintable

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

      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.

        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