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

qmllint: clean up linting categories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.10
    • 6.9
    • QML: Tooling
    • None
    • 1c440fb89 (dev), 9cf328506 (dev), ca0348fad (dev), 2b720dbe7 (dev), 276a5a875 (dev), 9ee8748f3 (6.9), c98312b1b (6.8), 7bbed761c (6.9), 45bf773e3 (tqtc/lts-6.8)

    Description

      qmllint seems to use the wrong settings names for it categories, most notably because of copy-paste errors:
      = done

      • unresolved alias uses PropertyAliasCycles from alias cycle category
      • recursion depth errors uses ImportFailure from import category (btw it has the wrong description too?!)
                QQmlJS::LoggerCategory{
                        qmlImport.name().toString(), QStringLiteral("ImportFailure"),
                        QStringLiteral("Warn about failing imports and deprecated qmltypes"),
                        QtWarningMsg },
                QQmlJS::LoggerCategory{
                        qmlRecursionDepthErrors.name().toString(), QStringLiteral("ImportFailure"),
                        QStringLiteral("Warn about failing imports and deprecated qmltypes"), QtWarningMsg, false, true },
        
      • top level component has a typo in its description
      • missing enum entry is not registered in qmllint

      Attachments

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

        Activity

          People

            sami.shalayel Sami Shalayel
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: