In questa pagina

QSqlDriverCreator Class

template <typename T> class QSqlDriverCreator

La classe QSqlDriverCreator è una classe template che fornisce una factory di driver SQL per un tipo specifico di driver. Per saperne di più...

Intestazione: #include <QSqlDriverCreator>
CMake: find_package(Qt6 REQUIRED COMPONENTS Sql)
target_link_libraries(mytarget PRIVATE Qt6::Sql)
qmake: QT += sql
Eredita da: QSqlDriverCreatorBase

Funzioni pubbliche reimplementate

virtual QSqlDriver *createObject() const override

Descrizione dettagliata

QSqlDriverCreator<T> istanzia oggetti di tipo ` T`, dove ` T ` è una sottoclasse di ` QSqlDriver `.

Per ulteriori dettagli, consultare QSqlDatabase::registerSqlDriver().

Documentazione delle funzioni membro

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

Reimplementa: QSqlDriverCreatorBase::createObject() const.

© 2026 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.