tags:

views:

6475

answers:

1

I am looking for some example code using Qt and it's SQL module with Sqlite driver. Main reason I need examples for is that I've prior experience with Qt's database interface and Sqlite has some weird behavior with field types (types are stored per-field, not per-column).

+1  A: 

The Qt 4.5 SQL examples use SQLite as this does not require a full RDBMS behind. As I recall, they are sometimes in memory, but you should be able to go from the supplied examples to your own sample code pretty quickly.

Dirk Eddelbuettel