PDA

View Full Version : mysql plugin not working on qt 4.5.2



majer627
1st October 2009, 22:25
My problem is:

QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE2 QPSQL7 QPSQL

I tried ./configure -plugin-sql-mysql but it returns the following message:
"MySQL support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue."

Any idea how coud I load the mysql plugin?

Thanks!

faldzip
1st October 2009, 23:30
Yes, read the documentation: http://doc.trolltech.com/4.5/sql-driver.html#how-to-build-the-qmysql-plugin-on-windows