Semantic Issue Qt Creator: no member named 'cout' in namespace 'std'

Viewed 977

I started to code with Qt Creator. For C++ files I get a lot of semantic issues.
99% are "no member named 'xxx' in namespace 'yyy'
The cpp files build, compile and output without a problem. If I click on e.g. cout I'm linked to iostream. Is there something I have to adjust in Qt so that Qt doesn't throw these semantic issues anymore?

Edit 18.09.20: I found the problem, it's caused by ClangCodeModel-plugin, which was enabled. Does anyone know what problem qt has with Clang?

error message hello world

compile output

0 Answers
Related