The QSqlDriverCreatorBase class is the base class for SQL driver factories. More...
Header: | #include <QSqlDriverCreatorBase> |
qmake: | QT += sql |
Inherited By: |
virtual | ~QSqlDriverCreatorBase() |
virtual QSqlDriver * | createObject() const = 0 |
Reimplement createObject() to return an instance of the specific QSqlDriver subclass that you want to provide.
See QSqlDatabase::registerSqlDriver() for details.
See also QSqlDriverCreator.
[virtual]
QSqlDriverCreatorBase::~QSqlDriverCreatorBase()
Destroys the SQL driver creator object.
[pure virtual]
QSqlDriver *QSqlDriverCreatorBase::createObject() const
Reimplement this function to returns a new instance of a QSqlDriver subclass.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qsqldrivercreatorbase.html