Results 1 to 2 of 2

Thread: Oracle database connection failure

  1. #1
    Join Date
    Dec 2017
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Oracle database connection failure

    hello,
    I am quite new to Qt and I want to establish connection between Qt and Oracle. I researched various articles even the online Qt documentation. None of them helped and end up with failure to connect Oracle database. Is there anyone can explain step by step guide for dummies to connect with Oracle database? My environment is:
    OS=windows 10
    Qt=5.10
    Database=Oracle 12
    Here is the Error message in Mingw32 environment;
    C:\Qt\5.10.0\mingw53_32>cd C:\Qt\5.10.0\Src\qtbase\src\plugins\sqldrivers\oci

    C:\Qt\5.10.0\Src\qtbase\src\plugins\sqldrivers\oci >set INCLUDE=%INCLUDE%;C:\app\aliati\product\12.2.0\dbh ome_1\oci\include

    C:\Qt\5.10.0\Src\qtbase\src\plugins\sqldrivers\oci >set LIB=%LIB%;C:\app\aliati\product\12.2.0\dbhome_1\oc i\lib\msvc

    C:\Qt\5.10.0\Src\qtbase\src\plugins\sqldrivers\oci >qmake oci.pro
    Cannot read C:/Qt/5.10.0/Src/qtbase/src/plugins/sqldrivers/qtsqldrivers-config.pri: The system cannot find the file specified.
    Project ERROR: Library 'oci' is not defined.

    I believe that the error raised because MSVC libraries cannot be used within MINGW. There must be some other solution to build QOCI driver. Can anyone help?
    Thanks in advance.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Oracle database connection failure

    Your answer is possibly here on StackOverflow

Similar Threads

  1. oracle Database performance in QT
    By gbaguma in forum Qt Programming
    Replies: 2
    Last Post: 3rd August 2013, 01:23
  2. SSH connection failure N9 Qt Creator
    By et3rnal in forum Installation and Deployment
    Replies: 3
    Last Post: 21st May 2012, 19:53
  3. Qt Oracle Database Failure...
    By combsjy in forum Qt Programming
    Replies: 0
    Last Post: 9th August 2010, 15:57
  4. Oracle Database Connection
    By ToddAtWSU in forum Qt Programming
    Replies: 6
    Last Post: 20th December 2007, 15:18
  5. Oracle database <=> Qt4/Opensource
    By windkracht8 in forum Qt Programming
    Replies: 1
    Last Post: 23rd May 2007, 23:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.