PDA

View Full Version : Cannot use QSql drivers



xgoan
23rd August 2006, 10:02
Hi,

I'm trying to create a database client, but when I do QSqlDatabase::drivers() there is no driver avaliable.

How can I build the drivers in src\sql\drivers?

Thanks.

(I'm working in Qt4 OpenSource with VS2005)

jacek
23rd August 2006, 12:59
http://doc.trolltech.com/4.1/sql-driver.html#building-the-plugins-manually

ksqt
25th August 2006, 16:45
http://www.qtcentre.org/forum/f-installation-5/t-mysql-plugin-1738.html

This is what I had to do to accomplish similar task, as the directions by TT did not work if followed exactly at the time.