W3cubDocs

/Qt 5.15

QSqlDriverCreator Class

template <typename T> class QSqlDriverCreator

The QSqlDriverCreator class is a template class that provides a SQL driver factory for a specific driver type. More...

Header: #include <QSqlDriverCreator>
qmake: QT += sql
Inherits: QSqlDriverCreatorBase

Reimplemented Public Functions

virtual QSqlDriver * createObject() const override

Detailed Description

QSqlDriverCreator<T> instantiates objects of type T, where T is a QSqlDriver subclass.

See QSqlDatabase::registerSqlDriver() for details.

Member Function Documentation

[override virtual] QSqlDriver *QSqlDriverCreator::createObject() const

Reimplements: QSqlDriverCreatorBase::createObject() const.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qsqldrivercreator.html