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

qmlsc: objectName can be shadowed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.x
    • 6.4.0 Beta1
    • QML: Compiler
    • All

    Description

      The QObject::objectName Q_PROPERTY is not FINAL, resulting in

      Error: Tracer.qml:44:27: Could not compile binding for text: Member objectName of QQuickItem of QQuickItem::parent with type QQuickItem can be shadowed
              text: root.parent.objectName
                                ^^^^^^^^^^
       

      I'm not sure if we can even finalize this property without breaking stuff.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            rgriebl Robert Griebl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes