
CodePudding user response:
Qt default not mysql library, you have to download a mysql for libmysql. DLL, pay attention to distinguish between 32-bit and 64 - bitCodePudding user response:

Now this is wrong
CodePudding user response:

I put this in the qt
CodePudding user response:
QT is no default with mysql but QT Qsqlite database for his own, I also consider using mysql before but like you such a trouble, so use the QT's own database directly, this is I write you can consult: https://blog.csdn.net/pyuxing/article/details/82903767CodePudding user response:
Now use the database is mysqlCodePudding user response:
32-bit QT connection 64 mysql database driver file libmysql. DLL libmysql. LibThe who has handed out thank you
CodePudding user response:
https://mp.csdn.net/postedit/83071741CodePudding user response:
Qt lack libmysql, DLLThe attention is not the same as the 32 - and 64 DLL
From mysql D:/mysql/mysql - 5.6.24 - win32 \ lib this is I found your mysql directory
Copy to D: \ QT5.9.3\5.9.3 \ msvc2015 \ bin copy to your directory qt directory
Here, perform if or quote above mistakes don't sit down a cigarette
The mysql uninstall
Remove the mysql service after unloading clean
Once again at this time for a cigarette out with
CodePudding user response:
Tip your project proposal using 32-bitCodePudding user response: