Results 1 to 4 of 4

Thread: Oracle Database Problem

  1. #1
    Join Date
    Sep 2006
    Posts
    15
    Thanks
    2

    Unhappy Oracle Database Problem

    I am getting an error on my output stating that on execution of this section of code:
    oracle.addDatabase("QOCI8"); // for an Oracle database

    Output: QSqlDatabase: QOCI8 driver not loaded
    Output: QSqlDatabase: available drivers: QSQLLite

    I included the Oracle client directory in my C/C++ -> General -> Additional Include Directories, Linker -> General -> Additional Library Directories, and Linker -> Input -> Additional Dependencies

    Is there something that I forgot??? Thank you in advance for your help.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Oracle Database Problem

    You forgot to compile the oracle driver for Qt.

  3. #3
    Join Date
    Sep 2006
    Posts
    15
    Thanks
    2

    Default Re: Oracle Database Problem

    How do I do that?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Oracle Database Problem

    Pass appropriate switch to configure. See configure -help for details.

  5. The following user says thank you to wysota for this useful post:

    magikalpnoi (29th September 2006)

Similar Threads

  1. Issues regarding QMySql drivers and mysql database
    By bera82 in forum Qt Programming
    Replies: 2
    Last Post: 10th August 2006, 17:50
  2. QTimer problem ... it runs but never triggs
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 12:54
  3. Filling combobox from database
    By Philip_Anselmo in forum Qt Programming
    Replies: 3
    Last Post: 11th May 2006, 17:53
  4. Save images to database
    By jnk5y in forum Qt Programming
    Replies: 4
    Last Post: 8th May 2006, 19:56
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.