PDA

View Full Version : checking for mySql support in QT



aj2903
27th October 2009, 08:02
Hii...


I have install qt 4.4.3 with following option
./configure -qt-sql-mysql -system-sqlite.

after installing qt can i find out whether qt has mysql support.

spirit
27th October 2009, 08:17
try to build an example which is locate in QTDIR/demos/sqlbrowser and run it. a combobox in a dialog contains a list of all SQL-drivers which have been built.
or take a look at QSqlDatabase::drivers.