Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-788

QT Includes litter Visual Studio static code analysis

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 2.5.1
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      I would like to run static analysis on my code to check for coding practices preceding review. I have worked around this issue by editing the project file with the following snippet:

      <PropertyGroup Condition="'$(Language)'=='C++'">
      <CAExcludePath>$(QTDIR)\include;.\GeneratedFiles;$(CAExcludePath)</CAExcludePath>
      </PropertyGroup>

       

      Seems like the desired behavior for most use cases.

       

        Attachments

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

          Activity

            People

            Assignee:
            mecfc Miguel Costa
            Reporter:
            dahubley dahubley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes