Results 1 to 2 of 2

Thread: Building new SQL driver

  1. #1
    Join Date
    Feb 2007
    Posts
    32
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Building new SQL driver

    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.

  2. #2
    Join Date
    May 2006
    Location
    Germany
    Posts
    108
    Thanks
    2
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Building new SQL driver

    The docs look quite straight forward: http://doc.trolltech.com/4.3/sql-dri...atabase-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.
    "If you lie to the compiler, it will get its revenge." - Henry Spencer

Similar Threads

  1. Problem building Firebird sql plugins
    By vieraci in forum Installation and Deployment
    Replies: 11
    Last Post: 12th September 2008, 01:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.