Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. fatal error: 'type_traits' file not found
Forum Updated to NodeBB v4.3 + New Features

fatal error: 'type_traits' file not found

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • pauleddP Offline
    pauleddP Offline
    pauledd
    wrote on last edited by
    #1

    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:
    kits.png

    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
    

    errors_n_warnings.png

    # 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
    ...
    

    analyzer.png
    Any ideas why the heck this errors/warning hunts me since weeks?
    Ps. of course the project compiles without any error...

    1 Reply Last reply
    0
    • pauleddP Offline
      pauleddP Offline
      pauledd
      wrote on last edited by
      #2

      So for now I disabled the ClangCodeModel Plugin. I am done with. I want to be productive an not fiddle about with such things :). Maybe someone stumbles upon the same problem later...

      aha_1980A 1 Reply Last reply
      0
      • pauleddP pauledd

        So for now I disabled the ClangCodeModel Plugin. I am done with. I want to be productive an not fiddle about with such things :). Maybe someone stumbles upon the same problem later...

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @pauledd

        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!

        Qt has to stay free or it will die.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved