Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-68

scale cannot nested alias twice

    XMLWordPrintable

Details

    • Sprint 4.4/2021, QUL Sprint 4.5/2021, QUL Sprint 4.6/2021

    Description

      here is the demo:

      Rectangle {
          id: root
          color: "#000000"
          width: 800
          height: 480
          property alias testScale1: testScale.testScale2
      
          component Test: Item {
              property alias testScale2: test.scale
              Image {
                  id: test
                  scale: 1
              }
          }
      
          Test {
              id: testScale
          }
      }
      
      

      temp solution:

      Rectangle {
          id: root
          color: "#000000"
          width: 800
          height: 480
          property alias testScale1: testScale.testScale2
      
          component Test: Item {
              property real testScale2: test.scale
              Image {
                  id: test
                  scale: 1
              }
          }
      
          Test {
              id: testScale
          }
      }
      
      

      Attachments

        Issue Links

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

          Activity

            People

              omrahate omrahate
              jiu shanheng jiu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes