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

scale cannot nested alias twice

XMLWordPrintable

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

      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
          }
      }
      
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes