Problem with building ORACLE database



  • Guys please help!
    I have tried everything, downloaded all packages you can get on QTsdk and in necessitas too.

    Here is my problem I want to use Oracle database on Android, I have tried tons of things, but at the end I have problem with

    set INCLUDE=%INCLUDE%;c:\oracle\oci\include
    set LIB=%LIB%;c:\oracle\oci\lib\msvc
    cd %QTDIR%\src\plugins\sqldrivers\oci
    qmake oci.pro
    nmake

    I can't start nmake it says that it cannot be recognized as internal or external...

    Can someon please tell me how to build driver for Oracle and how to use it. I am doing my best and I am standing on one spot all the time.

    I have all sdk I need, qt-source folder contains sql driver oci, when I perform above code everything is okay to the last line. Last line is not working.
    I am using Necessita and QtCreator 4.7.4 desktop

    Please help,
    Denonth



  • Find where you have @nmake@ and add this directory to path @set path=%path%;C:\dir\where\is\nmake@



  • As the SDK only contains a MinGW build of Qt, you must not use nmake to build the plugin, but mingw32-make.exe. I'm not 100% sure if the Oracle libs work together with MinGW, but as far as I know, there's no C++ used in the OCI libs, so in general it should work.


Log in to reply
 

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