Qt 6.11 is out! See what's new in the release
blog
Creator: clangd uses wrong C++ version - how to fix?
-
I'm building my project with C++23 on Windows using llvm for coverage generation.
In that configuration, my project builds fine, but clangd complains about "unknown typename concept", which seems like a dead giveaway it's trying to use C++17.How can I tell clangd to use the same standard version that's also used for compilation?
-
Go to Tools > Debug Qt Creator > Inspect C++ Code Model ... there you should get access to some information that the code model uses.
Otherwise you would have to enable some logging to get more info.