fatal error: 'type_traits' file not found
Solved
General and Desktop
-
And another " fatal error: 'type_traits' file not found" error thread. I've searched the forum and found similar topics but all of them had a problem with Android SDK/NDK stuff.
Not this time, my system:
Gentoo Linux
gcc-9.2.0, qt-5.12.5, qtcreator-4.10.84.
Kits:
I opened the qt audio example project and Qt-Creator presented me a LOAD of errors including the warning
fatal error: 'type_traits' file not found
# find /usr/ -name '*type_traits*' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/tr1/type_traits /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/experimental/type_traits /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/tr2/type_traits /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/ext/type_traits.h /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/cpp_type_traits.h /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/type_traits /usr/lib/llvm/8/include/llvm/Support/type_traits.h /usr/include/rttr/detail/misc/std_type_traits.h ...
Any ideas why the heck this errors/warning hunts me since weeks?
Ps. of course the project compiles without any error... -
So you just made it into https://forum.qt.io/topic/100762/qt-creator-clang-code-model-problems-collection :)
Please mark this topic as SOLVED, thanks!