Saulius Žemaitaitis
Saulius Žemaitaitis

Reputation: 2974

Qt and Sqlite examples

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).

Upvotes: 20

Views: 56852

Answers (1)

Dirk is no longer here
Dirk is no longer here

Reputation: 368211

The Qt 5 SQL examples use SQLite as this does not require a database server. You should be able to go from the supplied examples to your own sample code pretty quickly.

Upvotes: 31

Related Questions