The QSqlDriverPlugin class provides an abstract base for custom QSqlDriver plugins.
.PP
The SQL driver plugin is a simple plugin interface that makes it easy to create your own SQL driver plugins that can be loaded dynamically by Qt.
.PP
Writing a SQL plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and exporting the class with the \fCQ_EXPORT_PLUGIN\fR macro. See the SQL plugins that come with Qt for example implementations (in the \fCplugins/src/sqldrivers\fR subdirectory of the source distribution). Read the plugins documentation for more information on plugins.
.PP
See also Plugins.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QSqlDriverPlugin::QSqlDriverPlugin ()"
Constructs a SQL driver plugin. This is invoked automatically by the \fCQ_EXPORT_PLUGIN\fR macro.
.SH "QSqlDriverPlugin::~QSqlDriverPlugin ()"
Destroys the SQL driver plugin.
.PP
You never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used.