Qt SQL C++ Classes
Provides a driver layer, SQL API layer, and a user interface layer for SQL databases. More...
Contains miscellaneous identifiers used throughout the Qt SQL module
Handles a connection to a database
Abstract base class for accessing specific SQL databases
Template class that provides a SQL driver factory for a specific driver type
The base class for SQL driver factories
Abstract base for custom QSqlDriver plugins
SQL database error information
Manipulates the fields in SQL database tables and views
Functions to manipulate and describe database indexes
Means of executing and manipulating SQL statements
Read-only data model for SQL result sets
Encapsulates a database record
Stores information about an SQL foreign key
Delegate that is used to display and edit data from a QSqlRelationalTableModel
Editable data model for a single database table, with foreign key support
Abstract interface for accessing data from specific SQL databases
Editable data model for a single database table
To include the definitions of the module's classes, use the following directive:
To link against the module, add this line to your qmake
QT += sql
See the SQL Programming guide for information about using this module in your applications.
© 2023 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.