Solved Can't build QOCI driver
-
@OAmila
and check they are correct ? exists and can be opened? -
@mrjj
yes they are, when I tried this step using qt 5.20.0 it worked, but an error came in the next step where I had to run the command nmake -
Hi,
The instructions for building the SQL modules have changed. See Qt's documentation about the OCI driver.
-
Thanks for pointing out the mistake, Now the qmake command runs without error, but when I run the nmake /oci command it prints many lines on the command prompt but nothing happens.
-
@OAmila you have a MinGW command prompt and want to use the MSVC compiler?! that cannot work...
-
@aha_1980 thanks for helping, when I use mingw32-make it gives following error
-
-
@aha_1980 So does that mean I can't connect my Qt application with an Oracle database? will I be able to do it if I use an older Qt version. Why don't they include it in the documentation :( :( I already spent around a week resolving this, anyway thanks a lot for helping
-
It means, that it does not work with MinGW - you can ask Oracle to better support that compiler.
But it seems you can use the MSVC compiler with a suitable Qt for your app.
Regards
-
@aha_1980 Ok thanks a lot for helping
Regards,