PDA

View Full Version : Oracle Database Problem



magikalpnoi
27th September 2006, 17:51
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.

wysota
27th September 2006, 17:55
You forgot to compile the oracle driver for Qt.

magikalpnoi
27th September 2006, 17:59
How do I do that?

wysota
27th September 2006, 21:19
Pass appropriate switch to configure. See configure -help for details.