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

qmllint should warn about incorrect on assignments

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.3
    • None
    • QML: Tooling

    Description

      When encountering an on assignment, qmllint should verify that the type is actually a QQmlPropertyValueSource or an interceptor, and warn otherwise. Moreover, if there a binding is set on a property, and we have an on assignment with a QQmlPropertyValueSource, we should also warn. Note that binding + interceptor is a supported usecase.

      Attachments

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

        Activity

          People

            max.goldstein Maximilian Goldstein
            fabiankosmale Fabian Kosmale
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes