Why can't you just add the full path to INCLUDEPATH ?
win32:INCLUDEPATH += "C:/Users/John/workspace/lib" "C:/Users/John/workspace/lib/extras"
win32:DEPENDPATH += "C:/Users/John/workspace/lib" "C:/Users/John/workspace/lib/extras"
HEADERS += ...
...
...
headerclassx.h \
headerclassy.h
SOURCES+= ...
...
...
sourceclassx.cc \
sourceclassy.cc
win32:INCLUDEPATH += "C:/Users/John/workspace/lib" "C:/Users/John/workspace/lib/extras"
win32:DEPENDPATH += "C:/Users/John/workspace/lib" "C:/Users/John/workspace/lib/extras"
HEADERS += ...
...
...
headerclassx.h \
headerclassy.h
SOURCES+= ...
...
...
sourceclassx.cc \
sourceclassy.cc
To copy to clipboard, switch view to plain text mode
Bookmarks