From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.

QIBASE driver not loaded

  • Hello everybody,

    Unfortunately I HAVE to connect to a Firebird database and I'm getting all sorts of errors possible. After struggling for 2 days trying to build the lib, finally I could do it. I commented the follow line in the .pro file:

    QMAKE_USE += ibase

    and got the .dll and .a files. Then I moved the .a files (libqsqlibase and libqsqlibased) to the "lib" folder and the .dll files (qsqlibase and qsqlibased) to the "bin" folder.

    And now this piece of code:

    QSqlDatabase db = QSqlDatabase::addDatabase("QIBASE");

    is returning this error:

    QSqlDatabase: QIBASE driver not loaded
    QSqlDatabase: available drivers: QIBASE QSQLITE QODBC QODBC3 QPSQL QPSQL7

    Have I done something wrong? Maybe I've built the dlls in a wrong way?

  • Qt Champions 2018

    Make sure that all needed dlls are found when trying to load the ibase plugin -> check with Dependency Walker if the ibase plugin has all it's dependencies available.