PDA

View Full Version : Qt and databases



gt.beta2
17th February 2009, 22:32
Hi!

If i want to create an application that uses a database wish options are available for Qt in this area?

Thanks

wysota
17th February 2009, 23:07
Read about QtSql.

gt.beta2
18th February 2009, 08:19
I had been there ... but i was wondering if Qt supports other database engines?

spirit
18th February 2009, 08:24
you can create your own sql driver for Qt, see How to write your own database driver (http://doc.trolltech.com/4.4/sql-driver.html#how-to-write-your-own-database-driver) for more detailes.
bwt, what kind of databases do you need.?

gt.beta2
18th February 2009, 08:34
...MySQL, PostgreSQL, DBase, Firebird, etc.

spirit
18th February 2009, 08:35
Qt supports these databases.
edited: take a loot at this Supported databases (http://doc.trolltech.com/4.4/sql-driver.html#supported-databases)

gt.beta2
18th February 2009, 08:39
Thanks ... this is exactly what i was looking for :D