Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-50407

Can't create alias to "special" properties

    XMLWordPrintable

    Details

    • Commits:
      e5f3e7149b7e130c375c1419f1f804dfeaf578aa

      Description

      The following code:

      import QtQuick 2.0
      
      Rectangle {
          id: one
          property alias foo: two.border.width
      
          Rectangle {
              id: two
          }
      }
      

      Gives:
      test.qml:5 Invalid alias target location: width

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            w00t Robin Burchell
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes