Results 1 to 4 of 4

Thread: Ibase driver plugin not loading

  1. #1
    Join Date
    Feb 2011
    Location
    Bangalore
    Posts
    207
    Thanks
    20
    Thanked 28 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Ibase driver plugin not loading

    I have to use Firebird database with qt4.7.2 , msvc compiler.
    For that I built ibase.pro from QT//src/plugins/sqldrivers/ibase. After changing ibase.pro files headers properly to include the headers of firebird I was able to build it properly and qsqlibase4.dll ,qsqlibase4.lib ,qsqlibased4.dll and qsqlibased4.lib were generated. However they weren't copied to QT//plugins as they should. I copied them myself anyway. But qt is not able to recognize that ibase driver plugin and informs ibase driver not found if i try to use it. I have no clue what is wrong. I was able to use the plugin successfully with msvc and mingw compilers successfully uptill the 4.6.3 version.

  2. #2
    Join Date
    Feb 2011
    Location
    Bangalore
    Posts
    207
    Thanks
    20
    Thanked 28 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Ibase driver plugin not loading

    The driver had compiled fine. However when I was trying to use the plugin in application, I didn't linked the requisite dll's of firebird (fbclient.dll) etc correctly. Resulting in displaying of message Driver not loaded. I misunderstood the message as a problem with the driver plugin. It was kind of misleading

  3. #3
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Ibase driver plugin not loading

    Is fbclient.dl compiled with the same compiler?

    Could be the same problem for MySQL driver
    A camel can go 14 days without drink,
    I can't!!!

  4. #4
    Join Date
    Feb 2011
    Location
    Bangalore
    Posts
    207
    Thanks
    20
    Thanked 28 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Ibase driver plugin not loading

    I don't know which compiler was used to compile firebird on windows but my guess is g++. And thankfully its not the same problem as MYSQL . After having built the plugins, I didn't link correctly the client library of firebird(fbclient.dll) with the application trying to use firebird via the driver. Hence the 'Driver not loaded' message.

Similar Threads

  1. QPSQL driver not loading
    By z5 in forum Qt Programming
    Replies: 0
    Last Post: 17th July 2011, 22:16
  2. Ibase plugin problem under MacOs 10.4
    By giandrea77 in forum Installation and Deployment
    Replies: 1
    Last Post: 30th January 2009, 19:11
  3. Problem compiling ibase driver
    By SteM in forum Installation and Deployment
    Replies: 12
    Last Post: 24th September 2007, 23:26
  4. IBASE driver not found ?
    By vieraci in forum Installation and Deployment
    Replies: 10
    Last Post: 22nd May 2007, 14:56

Tags for this Thread

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.