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 Updated to NodeBB v4.3 + New Features

QIBASE driver not loaded

Scheduled Pinned Locked Moved Unsolved General and Desktop
sqlibasefirebirdplugin
2 Posts 2 Posters 1.3k 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.
  • R Offline
    R Offline
    rudag
    wrote on 20 Oct 2019, 19:36 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
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 20 Oct 2019, 20:20 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

      2/2

      20 Oct 2019, 20:20

      • Login

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