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

Unify qmllint disable/enable comments with QML annotations and Qt Creator's @disable-check

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.8
    • 6.4.3, 6.5.0 Beta3
    • QML: Tooling
    • None
    • All

    Description

      Qt Creator recognizes special comments such as "// @disable-check M300" in QML files to suppress certain code model warnings. qmllint has its own way to do the same. We also have QML annotations that are actually part of the language and could be used for this. There should only be one way to suppress warnings and it should be documented.

      Attachments

        Activity

          People

            qtqmlteam Qt Qml Team User
            mikio_hirai Mikio Hirai
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: