Important: Please read the Qt Code of Conduct -

Clang Code Model fail(file not found) when using custom complier

  • My program need to use some linux api (like socketpair), I have to use GCC instead of MinGW64. So I try to use MSYS2 as complier and Qt Creator as editor.

    I manully add a build kit at the setting page, build succefully and the program runs just fine, but Qt Creator show header file not found, event the iostrem header.
    33.jpg 22.jpg 11.jpg

    I read the doc at but did not find a solution.

    Is there a way to setup custom code model path?

Log in to reply