Results 1 to 1 of 1

Thread: Error compiling oracle oci driver for Qt database

  1. #1
    Join Date
    Aug 2010
    Qt products

    Default Error compiling oracle oci driver for Qt database

    HI every body,
    I use Microsoft windows Vista 32 bit OS, I installed Qt SDK 2010.04 4.7.0 (32 bit) Open source, I installed oracle 10g expresse.

    I done an application that need a database connection. so I had to compile the OCI driver to connect to the database. and this is the problem !!
    I did :
    I open the Qt commande Prompt.
    and I type:

    set INCLUDE=%INCLUDE%;C:\oraclexe\app\oracle\product\1 0.2.0\server\OCI\include
    set LIB=%LIB%;C:\oraclexe\app\oracle\product\10.2.0\se rver\OCI\lib\MSVC
    set PATH=%PATH%;C:\oraclexe\app\oracle\product\10.2.0\ server\BIN
    cd C:\Qt\2010.04\qt\src\plugins\sqldrivers\oci
    qmake -o Makefile

    and then I typed "make" like in the doc but it don't recognize it so I type "nmake" and it don't recognize also.
    so I type "mingw32-make" and it works but it gives me a lot of errors like:

    c:\program files\microsoft visuel studio\vc98\include/xstring:94:error expected ';' before '_N' :

    I don't know if my compilation is correct or not ...and why make and nmake dosen't work with me in Qt command prompt !!
    I want know what is worrong ! why it write microsoft visuel studio in the error ????? ?
    please give exemple of compilation and the right steps for the oracle 10g oci ...
    plzz HELP
    Last edited by NAYZAKAY44; 25th August 2010 at 18:36.

Similar Threads

  1. Compiling oracle oci driver for Qt
    By NAYZAKAY44 in forum Newbie
    Replies: 0
    Last Post: 25th August 2010, 18:11
  2. Qt Oracle Database Failure...
    By combsjy in forum Qt Programming
    Replies: 0
    Last Post: 9th August 2010, 15:57
  3. Strange Database Driver Error
    By cevou in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2010, 22:38
  4. OCI(oracle)driver adding to plugin
    By jjbabu in forum Qt Programming
    Replies: 0
    Last Post: 22nd April 2009, 12:04
  5. Oracle Database Connection
    By ToddAtWSU in forum Qt Programming
    Replies: 6
    Last Post: 20th December 2007, 15:18


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.