class QSqlDriverCreatorBase#

The QSqlDriverCreatorBase class is the base class for SQL driver factories. More

Synopsis#

Virtual methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

Reimplement createObject() to return an instance of the specific QSqlDriver subclass that you want to provide.

See registerSqlDriver() for details.

See also

QSqlDriverCreator

abstract createObject()#
Return type:

QSqlDriver

Reimplement this function to returns a new instance of a QSqlDriver subclass.