Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

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>
CMake: find_package(Qt6 REQUIRED COMPONENTS Sql)
target_link_libraries(mytarget PRIVATE Qt6::Sql)
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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded