Nominate our 2022 Qt Champions!

Headers not found

  • Hi
    why it doesn't find my headers, even with an absolute path?

    in the *.pro file:
    INCLUDEPATH += ../SDK/bla/blaM

    in a *.h file i do:
    #include "ataAccess.h"

    and get:
    /ataAccess.h: No such file or directory
    Many thanks

  • bq. INCLUDEPATH += ../SDK/bla/blaM

    Isn't an absolute path!

  • The INCLUDEPATH variable can contain relative paths. But those are resolved relatively to the build dir, so that might be an issue here.

Log in to reply