https://bugs.kde.org/show_bug.cgi?id=420596

            Bug ID: 420596
           Summary: Specify working directory for cppcheck
           Product: kdevelop
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: Analyzer: Cppcheck
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rafalla...@gmail.com
  Target Milestone: ---

SUMMARY

By default QProcess used to run cppcheck uses WD of the invoking process.

Would be good to use QProcess::setWorkingDirectory() to set WD to the project
root, that all the paths in the helper files (e.g. for suppression list option
--suppressions-list=<file>) can be relative to the project.

Did not check code for other analyzers but for them the same would be also
good.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to