Important: Please read the Qt Code of Conduct -

How to use cppcheck for Qt projects

  • Dear all,

    I'm working on a C++ / Qt project ( 4.5 ) and we would like to analyse the sources with cppcheck. However I'm not sure how to correctly configure it, especially in terms of macros and includes. Are there some sample configurations that could be reused? Are there people using cppcheck on their Qt project, and how?



  • I don't think you have any special configuration required just run cppcheck on your project source files.

Log in to reply