QMYSQL Driver not available Windows 10
-
Hello I am pretty new to QT and we are a Team of Developers using QT on different platforms.
I managed it to run QT with the Plugin on MacOs and everything is fine.
However Windows 10 is much more pain cause the internet is full of different kind of solutions and none of them work.The source I tried : https://doc.qt.io/qt-5/sql-driver.html
after doing the first command, it already says that mysql is not available and that it doesn't know mingw32-make
Please help me this has already taken me for more than 32 hours.
Versions: QT 5.14, Windows 10, MySql Server 10, MySql Connecter C 6.1
-
You have to run it from the Qt command line where mingw32-make is in the PATH (when you use mingw)
-
but where is the command line in QT is there a terminal in the Creator or what do you mean by that ?
-
For record:
-I've tried to build the mysql plugin in the creator wich gives the error "mysql library not found",
-I've tried to do it in the command line with the errors "Nothing to be done for all"
-I've tried to use other compilers and even the 32 and 64 bit version
-I've tried to copy the libmysql dll's and nothing changed, every time there are more errors than before I would just like to have a cristal clear instruction what to do right from the start.
-
@IAmUnshure said in QMYSQL Driver not available Windows 10:
-I've tried to build the mysql plugin in the creator wich gives the error "mysql library not found",
This is not what's in the docs
-I've tried to do it in the command line with the errors "Nothing to be done for all"
What exactly was the output of the commands you did?
-I've tried to use other compilers and even the 32 and 64 bit version
You can't mix 32 and 64 bit libs.
-I've tried to copy the libmysql dll's and nothing changed
Why should this change something?
-
I will do asap, all these things I tried, cause they mentioned it on several sides when this problem appears. We first went all 64 bits, nothing worked, should we try 32 instead ?
the docs tell you first to do the qmake command, I did that and it shows that the mysql driver is not available. -
@IAmUnshure
if it helps you: I provide the QMYSQL driver DLL here on GitHub, built from official source code https://github.com/thecodemonkey86/qt_mysql_driver/releases -
@thecodemonkey
Thank you so much !