Where Could i access to oci.pro for setup QOCI sqldriver plugin



  • Dear all in group
    I'm the new one in QT, i just installed QT 5.3 and when i wanted to write some codes to connect to Oracle DB compiler raise an error that QOCI is not loaded, i tried to search for setup this plugin but i could not find oci.pro in folder plugin/sqldriver, some websites noted that i should use some repository for download oci project files, but from where and how could i do for it. please help me

    thanks in advance



  • Hi and welcome to devnet,

    you have to install also the sources from Qt and you'll find the OCI driver source in <QTDIR>/qtbase/src/sql/drivers/oci



  • hi and thanks in advance
    i downloaded the sources from QT and found the oci directory in the path you notified me, but when i execute nmake after qmake the result is :
    link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /OUT:.......
    .\plugins\sqldrivers\qsqloci.dll @C:\Users\Arash\AppData\Local\Temp\nmE07D.tmp
    Qt5Sql.lib(Qt5Sql.dll) : fatal error LNK1112: module machine type 'x64' conflict
    s with target machine type 'X86'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
    \VC\BIN\link.EXE"' : return code '0x458'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
    \VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    somebody said that this occure because I built my project in 32bit mode while linking to a 64bit Qt, then now how could i solve this problem, i searched more and more but could not find any right solution.

    Thanks


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What did you use to open the command prompt ?



  • @SGaist @Arash did you finally find a solution for this problem ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.