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 override |
QSqlDriverCreator<T> instantiates objects of type T, where T is a QSqlDriver 子类。
见 QSqlDatabase::registerSqlDriver () 了解细节。
[override virtual]
QSqlDriver
*QSqlDriverCreator::
createObject
() const
重实现: QSqlDriverCreatorBase::createObject () const.