QSqlDriverCreatorBase Class▲
-
Header: QSqlDriverCreatorBase
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Sql)
target_link_libraries(mytarget PRIVATE Qt6::Sql)
-
qmake: QT += sql
-
Inherited By: QSqlDriverCreator
-
Group: QSqlDriverCreatorBase is part of Database Classes
Detailed Description▲
Reimplement createObject() to return an instance of the specific QSqlDriver subclass that you want to provide.
See QSqlDatabase::registerSqlDriver() for details.
See Also▲
See also QSqlDriverCreator
Member Function Documentation▲
[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.