Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102081 Improve the Qml Static Analysis system into a proper API
  3. QTBUG-102859

Reimplement all feasible qmlWarning() warnings in qmllint

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • P2: Important
    • 6.5
    • None
    • None

    Description

      We should support all these runtime warnings that can also be determined by static analysis.

      Items to cover:

      • Warn about using anchors, x and y in Grid and Flow
      • Warn about attached properties being used in the wrong elements (cannot warn about these being used in bindings right now)
      • Warn about combining left/right/behind properties with SwipeDelegate
      • Warn about some invalid anchor configurations (Needs to be able to inspect bindings)
      • Warn about Tumbler contentItem not being PathView or ListView
      • Warn about SpinBox textFromValue / valueFromText not being a function
      • Warn about TableView columnWidthProvider / rowHeightProvider not being a function
         

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: