Skip to content
  • 0 Votes
    2 Posts
    1k Views
    A

    @aheimberger Solved it by myself. I had to use the cfg directory, for what I hade two possiblities. Either using all cfg files within the cppcheck cfg directory or only the specific one for qt.

    cmd to use all cfg-files in director cppcheck/cfg, needs suppress of missing includes:
    -check-config --suppress=missingIncludeSystem .

    cmd to use single qt cfg file:
    --library=/home/ahe/Projects/cppcheck/cfg/qt.cfg

    See cppcheck:
    https://github.com/danmar/cppcheck
    https://github.com/danmar/cppcheck/tree/master/cfg