After build and install MySql driver for Qt it's unable to load the MySql Drive
-
@Malibob You can use https://www.dependencywalker.com/ to check whether something is missing for the MySQL plug-in DLL.
-
I would download mysql connector 6.1(last one with prebuilt libmysql.dll and use it to be sure you did not mess up the build.
If that does not work open creator, click projects on left side, switch top to debug and add a Build Environment entry called QT_DEBUG_PLUGINS and set it to 1. Then run in debug mode and read through the module load trace to see where it is loading what module from and whether it is able to load what it is looking for.
--James
-
@JSher said in After build and install MySql driver for Qt it's unable to load the MySql Drive:
Your mysql driver has to be accessed by the compiler you are using. Put it in the bin directory of mingw
What?!
This is not necessary at all!