it's very very urgently ORACLE driver QT 5.4.0.



  • it's very very urgently ORACLE driver QT 5.4.0.
    I need help with the installation of oracle oci driver in qt 5.4.0.
    I do what is necessary as indicated in the official documentation and the official website.
    but still the problem driver not loaded
    and I put a sqldrivers folder in the directory of the executable may not change
    here is the script:
    set INCLUDE =% INCLUDE%; C: \ oraclexe \ app \ oracle \ product \ 10.2.0 \ server \ OIC \ include
    set LIB =% LIB%; C: \ oraclexe \ app \ oracle \ product \ 10.2.0 \ server \ OIC \ lib \ MSVC
    cd C: \ Qt \ Qt5.4.0 \ 5.4 \ Src \ qtbase \ src \ plugins \ sqldrivers \ oci
    qmake oci.pro
    C: \ Qt \ Qt5.4.0 \ Tools \ mingw482_32 \ bin \ mingw32-make.exe
    set PATH =% PATH%; C: \ oraclexe \ app \ oracle \ product \ 10.2.0 \ server \ BIN

    after this operation, there's no dll files, but by cons, I found three folders:
    1 / folder named ".moc" contains two folders:
    1.1-debug: contains:
    -main.moc
    -moc_qsql_oci_p.cpp

    1.2-release: contains:
    -main.moc
    -moc_qsql_oci_p.cpp

    2 / folder named "obj" contains two folders:
    2.1-debug: contains:
    -main.o
    -moc_qsql_oci_p.o
    -qsql_oci.o

    2.2-RELEASE: contains:
    -main.o
    -moc_qsql_oci_p.o
    -qsql_oci.o
    3 / folder named ".pch" contains two folders:
    3.1-debug: contains:

    3.2-release: contains no files or folders:

    I use qt 5.4.0 on Windows 7 and Visual Studio 2012.
    I have to do? please please it's urgent.
    I try several methods each method says it works but for me, I have not come up with any solution
    .... Please please I want quelqun who knows it to work well



  • guys I ***
    *
    *
    NEED YOU!!!



  • HI and welcome to the devnet,

    I don't understand what is your problem.
    What is the output when you try to build the driver plugin?



  • HI,
    if you use MSVC and not mingw you must replace the line C: \ Qt \ Qt5.4.0 \ Tools \ mingw482_32 \ bin \ mingw32-make.exe by
    nmake (cf Qt documentation)
    and I believe it's not recommended to use Qt 5.4.0 and MSVC,it's better tou use Qt 5.4.1 (binary compatiblity problems with 5.4.0 and MSVC)