If I compile your library with this code inserted in the main .pro file
it does not include the boost path during compilation:
debug: LIBS += -Llib/boost/regex/mingw/debug
-llibboost_regex-mgw34-mt-d-1_40
release:LIBS += -Llib/boost/regex/mingw/release
-llibboost_regex-mgw34-mt-1_40
INCLUDEPATH +=
H:/matthias/Documents/Dev/CPP/SVN/library/source/boost_1_40_0/
which means it fails as before.
However I can compile and link the boost example successfully using this
qmake code:
(which is the same as above, just more code for the destination of files)
CONFIG += release
CONFIG -= debug
CONFIG -= qt
CONFIG += thread warn_on
TEMPLATE = app
TARGET = test
# -------------------------------------------------
# Define Variables
# -------------------------------------------------
BUILD_DIR = build
BIN_DIR = bin
# -------------------------------------------------
# Target Directory
# -------------------------------------------------
debug:DESTDIR = $${BIN_DIR}/mingw/debug/
release:DESTDIR = $${BIN_DIR}/mingw/release/
# -------------------------------------------------
# Objects Directory
# -------------------------------------------------
debug{
OBJECTS_DIR = $${BUILD_DIR}/$${BINARY_NAME}/debug/
}
release{
OBJECTS_DIR = $${BUILD_DIR}/$${BINARY_NAME}/release/
}
# -------------------------------------------------
# Include directories
# -------------------------------------------------
INCLUDEPATH +=
H:/matthias/Documents/Dev/CPP/SVN/library/source/boost_1_40_0/
# -------------------------------------------------
# Libaries
# -------------------------------------------------
debug: LIBS += -Llib/boost/regex/mingw/debug
-llibboost_regex-mgw34-mt-d-1_40
release:LIBS += -Llib/boost/regex/mingw/release
-llibboost_regex-mgw34-mt-1_40
# -------------------------------------------------
# Sources
# -------------------------------------------------
SOURCES += test.cpp
so somewhere in the qmake code of your library the INCLUDEPATH is
overwritten is assume.
Best Regards,
Matthias