Fedora11下QT4连接MYSQL出错处理QSqlDatabase: QMYSQL driver not loaded
MySql数据库服务器已打开#include#include#include#include#includeintmain(intargc,char*argv[]){ QCoreApplicationa(argc,argv); //从MySql驱动程序中获取一个MySql数据库 QSqlDatabasedb=QSqlDatabase::addDatabase("QMYSQL");