|  | Home · Overviews · Examples |

# QSqlDriver Class Reference
[com.trolltech.qt.sql module]

The `QSqlDriver` class is an abstract base class for accessing specific SQL databases. More...

Inherits `QObject`.

## Detailed Description

The `QSqlDriver` class is an abstract base class for accessing specific SQL databases.

This class should not be used directly. Use `QSqlDatabase` instead.

If you want to create your own SQL drivers, you can subclass this class and reimplement its pure virtual functions and those virtual functions that you need. See How to Write Your Own Database Driver for more information.

See also `QSqlDatabase` and `QSqlResult`.