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

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.10
    • 6.10
    • QML: Compiler, QML: Tooling
    • None

    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

        For Gerrit Dashboard: QTBUG-134887
        # Subject Branch Project Status CR V

        Activity

          People

            qtqmlteam Qt Qml Team User
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change