Important: Please read the Qt Code of Conduct -

Creator can't find one specific #include file

  • I have a "public header" path, which I add to my project file using

    I have verified using message() that the resulting INCLUDE path is correct, containing an absolute path that I can copy from the message output and paste into Explorer (Windows 7).

    Nevertheless, Qt Creator (2.5.2) cannot seem to locate that folder.

    How can I find the cause of this? Anything I can try to fix it?

    The compiler can find the path. So the path must be correct.

  • Lifetime Qt Champion


    Does $$MY_INCLUDE_PATH contain all headers ? Or does it contain folders with headers in there ?

  • The path itself contains the header files. And as I said, the compiler has no worries about it.

Log in to reply