The QSqlDriverCreator class is a template class that provides a SQL driver factory for a specific driver type. 更多...
头: | #include <QSqlDriverCreator> |
qmake: | QT += sql |
继承: | QSqlDriverCreatorBase |
virtual QSqlDriver * | createObject () const |
The QSqlDriverCreator class is a template class that provides a SQL driver factory for a specific driver type.
QSqlDriverCreator <T> instantiates objects of type T, where T is a QSqlDriver 子类。
见 QSqlDatabase::registerSqlDriver () 了解细节。
[虚拟]
QSqlDriver
*QSqlDriverCreator::
createObject
() const
重实现自 QSqlDriverCreatorBase::createObject ().