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

qmllint should not warn about accessing properties from QQmlPropertyMap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.10
    • 6.10
    • QML: Tooling
    • 8721ff9e8 (dev), 53b33c9c3 (6.10)

      Properties from QQmlPropertyMap are dynamic in nature and thus cannot be know/checked by qmllint.

      Currently when accessing any property from a QQmlPropertyMap (or derived object) qmllint complains with 

      Member "foo" not found on type "QQmlPropertyMap" [missing-property]

      See https://invent.kde.org/nicolasfella/propmap for a full example.

      The result is a lot of inactionable noise when looking at qmllint output

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

            fabiankosmale Fabian Kosmale
            nicolasfella Nicolas Fella
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes