Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28229

qmlint warnings are not shown or are not clickable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 8.0.1
    • Quick / QML Support
    • None
    • All

    Description

      When compiling Qml with cmake + qmlint then the following happens:

      Scenario 1: Windows target, QtCreator runs on Windows
      qmlint errors and warnings are shown in the QtCreator "Issues" pane. But list entries are not clickable, meaning that we have to manually search the Qml file and line to fix the problem.

      With qmlint warnings and error I refer to this:

      [4/7 2.2/sec] Generating .rcc/qmlcache/appbasis_qml/controls/NavigationInfoPane_qml.cpp
      Warning: NavigationInfoPane.qml: Warnings occurred while importing base modules:
      ---
      Warning: QtQuick.Controls uses optional imports which are not supported. Some types might not be found.
      ---
      
      Info: NavigationInfoPane.qml:9:1: Unused import at NavigationInfoPane.qml:9:1
      import "qrc:/imports/test/fields" 1.0
      
      

      Scenario 2: Android target, QtCreator runs on Windows
      qmlint errors and warnings are not shown int the Issues pane but only in the compilation output.

      Scenario 3: macOS or iOS target, QtCreator runs on macOS
      Same result as in Scenario 2.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            Harald Meyer Harald Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes