Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem with building ORACLE database

Problem with building ORACLE database

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 2.3k 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.
  • D Offline
    D Offline
    denonth
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hostel
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #3

        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.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0

        • Login

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