Results 1 to 2 of 2

Thread: QOci with qt 4.7.3 x64

  1. #1
    Join Date
    Jan 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default QOci with qt 4.7.3 x64

    Hi,
    I've successfully built qt4.7.3 in 64 bit. I've built with option -qt-sql-oci beacuse I want to connect to an oracle db.

    Now when I call
    QSqlDatabase::addDatabase( dbType, connectionName );

    I get
    Warning: QOCIDriver: unable to create environment

    Can somebody give me a hint?

    Any help appriciated,
    Kind regards,
    Harald

  2. #2
    Join Date
    Jan 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QOci with qt 4.7.3 x64

    I've checked for
    QSqlDatabase::contains("QOCI") and the result is false.

    Could it be that oci.dll is not found? Or might there be a problem because the oci.dll was build for x64 systems?

Similar Threads

  1. Qoci
    By hashimov in forum Qt Programming
    Replies: 2
    Last Post: 15th December 2011, 09:56
  2. QOCI plugin with Oracle RAC
    By davidovv in forum Qt Programming
    Replies: 4
    Last Post: 7th July 2011, 11:54
  3. Pb connexion distant oracle database using QOCI
    By mourad in forum Qt Programming
    Replies: 0
    Last Post: 16th December 2010, 10:52
  4. Replies: 1
    Last Post: 24th November 2008, 12:02

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.