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

[REG 6.9 -> 6.10] qmllint: bogus required property warning with generalized grouped property

    XMLWordPrintable

Details

    • 2c3577264 (dev)

    Description

      Consider

      import QtQuick
      
      Item {
          id: root
          required property int i
      
          PropertyChanges {
              root.width: 100
          }
      }
      

      This generates a bogus warning:

      Warning: test.qml:7:19: Component is missing required property i from here [required]
      PropertyChanges{{{}

      { root.width: 100 }

      {}}}^^^^

      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
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes