QSqlDriverCreator Class

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

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 subclass.

See QSqlDatabase::registerSqlDriver() for details.

Member Function Documentation

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

Reimplemented from QSqlDriverCreatorBase::createObject().

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.