Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Build Qt Statically with oci enabled
Qt 6.11 is out! See what's new in the release blog

Build Qt Statically with oci enabled

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 929 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RocioMartinez13
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved