When I add some directories in search path, it seems that CB don´t take the directories to the makefile.debug file now in my case as arguments to the compiler like -I"<PathToHeader>"
The Pathes are in my cb projectfile like this
<Compiler>
<Add option="-Wall" />
<Add option="-g" />
<Add directory="C:\Qt\4.4.1\include" />
<Add directory="C:\Qt\4.4.1\include\QtGui" />
<Add directory="C:\Qt\4.4.1\include\QtSql" />
<Add directory="C:\Qt\4.4.1\include\QtCore" />
<Add directory="C:\Qt\4.4.1\include\QtDesigner" />
<Add directory="C:\Qt\4.4.1\include\QtNetwork" />
<Add directory="C:\Qt\4.4.1\include\QtOpenGL" />
<Add directory="C:\Qt\4.4.1\include\QtXml" />
<Add directory="C:\SqlApi\include" />
<Add directory="C:\SqlApi\include\odbc_win32" />
<Add directory="C:\SqlApi\include\ss_win32" />
<Add directory="C:\Testheader" />
</Compiler>
<Linker>
<Add library="QtCore4" />
<Add library="QtGui4" />
<Add library="QtSql4" />
<Add library="QtSvg4" />
<Add library="QtXml4" />
<Add library="libsqlapi" />
<Add directory="C:\Qt\4.4.1\lib" />
<Add directory="C:\Qt\4.4.1\bin" />
<Add directory="C:\SqlApi\bin" />
<Add directory="C:\SqlApi\lib" />
</Linker>
What´s wrong here
Ok, sorry now in slow motion ;o)).
Ok I use the Qt Library (4.4.1). Thatswhy I have make the script/tool or what ever with the the name QMake which runs qmake in the projectdir. After this process it generate a makefile(custom makefile) and a makefile.debug and makefile.release.
after all I have to add my lib(SQLAPI++) my pro file looks like this
TEMPLATE = app
TARGET =
DESTDIR = bin/
DEPENDPATH += . HEADERS SOURCES
INCLUDEPATH += .
QT += network xml svg sql
HEADERS += HEADERS/window.h \
HEADERS/ConDB.h
SOURCES += SOURCES/window.cpp \
SOURCES/main.cpp
RESOURCES += TraDa.qrc
CONFIG += debug
win32:LIBS += C:/SqlApi/lib/libsqlapidll.a
RC_FILE += RESOURCESFILES/TraDa.rc
and when I add the directories of the header in Project->Buildoptions
Adding
INCLUDEPATH = C:/SqlApi/include C:/SqlApi/include/odbc_win32 C:/SqlApi/include/ss_win32
in the pro file solve the problem thx a lot