This resource is archived because it is not considered relevant for developers creating commercial solutions today.
The resource is believed to be still valid for the original topic scope.

This Qt C++ application demonstrates how to use the QtSql module to access a SQLite 3 database. The application demonstrates how to use different QtSql classes to search, insert, update, and delete data from the database. The example also shows how to map UI components to the database using the QDataWidgetMapper and QSqlTableModel classes.
The updated example application has been tested to work on Maemo and Symbian with the Qt 4.6.2 release.
Important classes: QSqlDatabase, QSqlQuery, QSqlError, QSqlTableModel, QDataWidgetMapper.