QIBASE driver not loaded
rudag last edited by
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?
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.