It is important that you have the clntsh (linux) and oci (windows) libraries and the sdk directory extracted in known a place!
cd /path/to/instantclient_11_1/ ln -s libclntsh.so.11.1 libclntsh.so
cd /path/to/QOpenOCCI/src export OCI_INCLUDES="-L/opt/instantclient_11_1/sdk/include" export OCI_LIBS="-L/opt/instantclient_11_1/ -lclntsh" qmake-qt4 ; make
cd /path/to/QOpenOCCI/src set OCI_INCLUDES="/path/to/instantclient_11_1/sdk/include" set OCI_LIBS="/path/to/instantclient_11_1/sdk/lib/msvc/oci.lib" qmake make (or nmake for VS)
sudo
make
install
or copy to .so file to a sqldrivers
folder of your application sqldrivers
folder of your applicationLD_LIBRARY_PATH=/path/to/oracle/instant/client:${LD_LIBRARY_PATH} /path/to/app