PDA

View Full Version : SQL support for QT



Yayati.Ekbote
2nd March 2010, 11:09
Well......i may be asking a dumb question..but i can't control asking this question. Qt contains libraries for databse support as QSqlDatabase.h...etc....Then do i have to install SQL database application to create an actual database, or Qt gives a databse itself??

wysota
2nd March 2010, 11:16
What do you mean by "database application"? QSqlDatabase is an interface to connect to different database servers. The servers themselves have exist somewhere. In simple cases you can use SQLite which doesn't require a running database server.

pitonyak
2nd March 2010, 15:57
I do believe that you must install a database to act as the back end.

http://qt.nokia.com/doc/4.6/sql-driver.html#supported-databases