QtCreator 4.14 doesn't recognize std namespace and headers

  • To start with, my CMake project builds and runs fine on both VS 2015 and QtCreator 4.14. Although my project builds and runs fine on QtCreator 4.14, I noticed yellow lines under stl headers (No such file or directory) and code completion for std:: doesn't work either.

    At first i thought this might be because i disabled clang code model, but CCM didn't help either. Instead it looks like madness with CCM ON:

    Screenshot 2021-01-24 182817.jpg

    I am aware of issues related to CCM but to this extent of not recognizing C++ STL defeats my purpose of using QtCreator. Any work arounds or do i need to switch back to slow VS 2015?

Log in to reply