Unsolved 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.
I read the doc at https://doc.qt.io/qtcreator/creator-clang-codemodel.html but did not find a solution.
Is there a way to setup custom code model path?