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

Clang static analyzer try to parse qml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.2.0-rc1
    • Qt Creator 4.1.0, Qt Creator 4.2.0-beta1
    • None
    • MacBook Pro + macOS Sierra + Qt5.7 + QtCreator 4.1

    Description

      I have a lot of qml files that need to be translated, thus they are added to pro file by using:

      lupdate_only:SOURCES += qml/*.qml

      And then try to run clang static analyzer will scan all SOURCES, including those qml files. Needless to say, it generate a lot of useless warnings, so many that it is almost unable to find the right messages.

      Please filter the right file types when running the clang static analyzer.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            steve.k.chiu Steve K. Chiu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes