I'm trying to add my database to a QT-project. However, it gives the error "QMYSQL driver not loaded". I use openserver to work with mysql.
if you don't have any experience with compiling, take a look here:
https://github.com/thecodemonkey86/qt_mysql_driver/releases
you must then copy the files into your qt/mingw/bin folder. the versions must match
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.