Qt连接MySQL出现QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
解决方法,先看下是否已经安装了libqsqlmysql.so
[test1@localhost ~]$ locate libqsqlmysql.so
/var/cache/abrt-di/usr/lib/debug/usr/lib/
原创
2012-05-29 22:13:27 ·
15007 阅读 ·
2 评论