4#ifndef QSQLDRIVERPLUGIN_H
5#define QSQLDRIVERPLUGIN_H
7#include <QtSql/qtsqlglobal.h>
8#include <QtCore/qplugin.h>
9#include <QtCore/qfactoryinterface.h>
16#define QSqlDriverFactoryInterface_iid "org.qt-project.Qt.QSqlDriverFactoryInterface"
22 explicit QSqlDriverPlugin(QObject *parent =
nullptr);
25 virtual QSqlDriver *create(
const QString &key) = 0;
QSqlDriver * create(const QString &)
Creates and returns a QSqlDriver object for the driver called key.
The QSqlDriverPlugin class provides an abstract base for custom QSqlDriver plugins.
Combined button and popup list for selecting options.