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

    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