[Qt-creator] Use the clang static analyzer from an imported project

Charlie Turner chturne at gmail.com
Wed Oct 11 14:35:47 CEST 2017


I've imported an existing project, and configured the
<project_name>.{includes,files,config} files to the point where I get
good jump to definition / highlight and such.

However, when I run the static analyzer, it gives an error,

error: openssl/aes.h: No such file or directory
 #include <openssl/aes.h>
          ^~~~~~~~~~~~~~~

In the editor, that line is not underlined, it lives in a buildroot
directory that I have added to my <project_name>.includes file. Is the
analyzer aware of this information? What else can I try to get it past
this error?

TIA,
  - Charlie.



More information about the Qt-creator mailing list