Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Creator features.h No such file or directory



  • On ArchLinux, I have just created an empty project, using the default Desktop kit and cmake.
    When I try to compile I am affected by the error in the title, pretty much as in here: https://forum.qt.io/topic/98704/custom-kit-self-compiled-qt-5-9-features-h-not-found

    However that solution (and neither few others found googling) helped me.

    The file raising the issue is: /usr/include/c++/10.1.0/x86_64-pc-linux-gnu/bits/os_defines.h
    Here is a quick lookup for "features.h" in my system

    $ find /usr -name features.h
    /usr/include/c++/10.1.0/parallel/features.h
    /usr/include/wx-3.0/wx/features.h
    /usr/include/rbd/features.h
    /usr/include/features.h
    /usr/lib/modules/5.6.14-arch1-1/build/include/xen/features.h
    /usr/lib/modules/5.6.14-arch1-1/build/include/xen/interface/features.h
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/parallel/features.h
    

    It looks like the file is right there in /usr/include, how is it possible that it is not found?

    Thank you for the help


Log in to reply