View Full Version : Building new SQL driver
Pragya
27th June 2007, 07:55
Hi all,
can anyone tell the process for building and loading plugins(new driver). I have gone through the documents but it is unclear to me.
Thanks in advance,
Any suggestions are welcome.
Methedrine
27th June 2007, 09:46
The docs look quite straight forward: http://doc.trolltech.com/4.3/sql-driver.html#how-to-write-your-own-database-driver
Just subclass QSqlDriver and QSqlResult and overwrite the virtual functions with the required functionality for your database. You can always take a look at the sources for other sqldrivers provided by Qt itself.
That's all I can help you here without knowing more details about which part of the process you are having trouble with.
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.