Nominate our 2022 Qt Champions!

Installing the oci driver using msvc 2012

  • Hi. I need information to install the oci drivers for qt 5.2.0 using msvc 2012. I'm using oracle instantclient I downloaded the basic package and the sdk package and followed the following commands:
    cd c:\Qt\5.2.0\src\plugins\sqldrivers\oci
    set include=%include%c:\instantclient_12_1\sdk\include;
    set lib=%lib%c:\instantclient_12_1\sdk\lib\msvc\vc11;
    set path=%path%c:\instantclient_12_1\vc11;
    set path=%path%c:\instantclient_12_1;
    But I'm getting the following errors:
    link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /MANIFEST /MANIFESTFILE:........\plugins\sqldrivers\qsqlocid.dll.embed.manifest /OUT:........\plugins\sqldrivers\qsqlo
    cid.dll @C:\Users\APPREN~1\AppData\Local\Temp\nm6340.tmp
    LINK : fatal error LNK1104: cannot open file 'oci.lib'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\link.EXE"' : return code '0x450'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'

    Any help will be greatly appreciated.

Log in to reply