Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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?

    Thanks

    Alexis



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


Log in to reply