I don't have QOCI Drivers loaded in Qt 4.8 SDk so want to write manually occi functionality, but don't know how to add libraries please help me..
some how i managed upto some level like adding parameters to LIBS and INCLUDE in .pro file i.e
LIBS += -Bdynamic -lm -I "D:/Oracle/product/10.1.0/Db_1/OCI/lib"
INCLUDEPATH += D:/Oracle/product/10.1.0/Db_1/OCI/include
Here after adding the above args. and compiling, now i am getting undefined reference errors like
debug/CDBHandler.o:D:\DBConnection\ConnectMAP-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../ConnectMAP/CDBHandler.cpp:33: undefined reference to `oracle::occi::Environment::createEnvironment(orac le::occi::Environment::Mode, void*, void* (*)(void*, unsigned int), void* (*)(void*, void*, unsigned int), void (*)(void*, void*))'
debug/CDBHandler.o:D:\DBConnection\ConnectMAP-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../ConnectMAP/CDBHandler.cpp:48: undefined reference to `oracle::occi::SQLException::SQLException(oracle:: occi::SQLException const&)'
debug/CDBHandler.o:D:\DBConnection\ConnectMAP-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../ConnectMAP/CDBHandler.cpp:50: undefined reference to `oracle::occi::SQLException::getErrorCode() const'
Bookmarks