The issue is almost certainly that the OP thinks "." and "$$PWD" refer to somewhere other than where qmake does, and consequently the compiler (in the case of INCLUDEPATH) and linker (LIBS) are being told to look. Inspection of the compiler/linker commands issued by make (or nmake) should make plain where it is actually looking.