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 :-

Qt Code:
  1. [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
  2. Error :
  3. Project ERROR: Library 'oci' is not defined.
To copy to clipboard, switch view to plain text mode 

How to install sqldriver for this.

Thanks