Qt Reference Documentation

Database Classes

QSql

Contains miscellaneous identifiers used throughout the Qt SQL library

QSqlDatabase

Represents a connection to a database

QSqlDriver

Abstract base class for accessing specific SQL databases

QSqlDriverCreator

Template class that provides a SQL driver factory for a specific driver type

QSqlDriverCreatorBase

The base class for SQL driver factories

QSqlError

SQL database error information

QSqlField

Manipulates the fields in SQL database tables and views

QSqlIndex

Functions to manipulate and describe database indexes

QSqlQuery

Means of executing and manipulating SQL statements

QSqlQueryModel

Read-only data model for SQL result sets

QSqlRecord

Encapsulates a database record

QSqlRelationalTableModel

Editable data model for a single database table, with foreign key support

QSqlResult

Abstract interface for accessing data from specific SQL databases

QSqlTableModel

Editable data model for a single database table