PDA

View Full Version : QMYSQL driver not loaded



sdithoney
7th January 2020, 00:15
Hi All

I have Qt 5.12.6 and I am trying to load QMYSQL but getting following output on Mac.

QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QODBC QODBC3 QPSQL QPSQL7

I have followed some websites to custom build the driver but of no use, Please guide me.

d_stranz
7th January 2020, 03:40
Building the QMYSQL driver is half of the solution. You also need the client-side MySQL library that QMYSQL uses to talk to the DBMS. I don't know what this is on the Mac, but I am sure you could find out on the MySQL web site.