Build Qt Statically with oci enabled



  • Hello!

    I am trying to build Qt statically to deploy an application that connects to a Web Service and to an Oracle database. I managed to enable OpenSSL in the static build of Qt but when I put the oci plugin in the command line, an error appears. This is the configure options I use:

    configure -static -release -openssl-linked -IC:\OpenSSL-Win32\include -LC:\OpenSSL-Win32\lib -no-sql-odbc -sql-oci -IC:\app\client\martinro\product\12.2.0\client_1\oci\include -LC:\app\client\martinro\product\12.2.0\client_1\oci\lib\msvc

    The response shows something like:

    ERROR: Feature 'sql-oci' was enabled, but the pre-condition 'libs.oci' failed.

    I also have the oci plugin installed in my Qt. Does anyone know how can I solve this?

    Thank you!


  • Lifetime Qt Champion

    Hi,

    IIRC, the -I and -L options for the configure scripts require a space unlike their compiler/linker counter-parts.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.