What resources do you recommend for getting up and running with database programming using Qt?
Thanks.
What resources do you recommend for getting up and running with database programming using Qt?
Thanks.
If you're going to use SQLite then the SQLite web site is a good resource.
List of database-related classes in Qt from the docs:
There is a bunch of examples as well, they are all available from the welcome screen in the IDE: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
http://doc.trolltech.com/4.5/sql-cachedtable.html
http://doc.trolltech.com/4.5/sql-drilldown.html
http://doc.trolltech.com/4.5/sql-querymodel.html
http://doc.trolltech.com/4.5/sql-rel...ablemodel.html
http://doc.trolltech.com/4.5/sql-tablemodel.html
http://doc.trolltech.com/4.5/sql-sqlwidgetmapper.html
Last edited by helloworld; 6th June 2011 at 14:01.
I startedwith http://doc.trolltech.com/4.5/sql-cachedtable.html that hellowold already suggested, but afterwards I guess it depends on what sort of database you are goung to use.
Szilvi
Bookmarks