现有版本的QT中可用数据库插件驱动查看
- #include
- #include
- #include
- #include
-
- int main(int argc, char *argv[])
- {
- QCoreApplication a(argc, argv);
- qDebug()<<"现有版本的QT中可用数据库插件驱动查看";
- QStringList drivers = QSqlDatabase::drivers();
- foreach(QString driver, drivers)
- {
- qDebug()<
- }
-
- return a.exec();
- }