PDA

View Full Version : How to install sqldriver for Oracle 11gR2 for Qt5.12 in CentOS 7.



rahulvishwakarma
4th July 2024, 11:21
I've two VMs one is Centos 6 as Oracle server and second is Centos 7 oracle instant client for this server + Qt 5.12.
I am trying to compile Qt 5.12 OCI sqldriver for oracle 11g R2. I given this command and having this error :-



[rahul@C-Client oci]$ /opt/Qt5.12.12/5.12.12/gcc_64/bin/qmake -- OCI_INCDIR=/opt/oracle/instantclient_11_2/sdk/include -- OCI_LIBDIR=/opt/oracle/instantclient_11_2 -lclntsh -lnnz11 oci.pro
Error :
Project ERROR: Library 'oci' is not defined.


How to install sqldriver for this.

Thanks