Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QIBASE driver not loaded
Forum Update on Monday, May 27th 2025

QIBASE driver not loaded

Scheduled Pinned Locked Moved Unsolved General and Desktop
sqlibasefirebirdplugin
2 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • rudagR Offline
    rudagR Offline
    rudag
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved