Results 1 to 17 of 17

Thread: Qt - Firebird = QIBASE : driver not loaded !

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Brasil
    Posts
    131
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    18
    Thanked 3 Times in 3 Posts

    Lightbulb Re: Qt - Firebird = QIBASE : driver not loaded !

    Hi,

    Create the folder "sqldrivers" in your application folder and put libqibase.so here, or locate the others drivers (QSQLITE, QSQLITE2) and put the library in same folder.

    Marcelo E. Geyer

  2. #2
    Join Date
    Apr 2006
    Posts
    18
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt - Firebird = QIBASE : driver not loaded !

    i know that, and i did that..i've put the ibase that you gave to
    that folder
    home qtsdk-2009.02/qt/plugins/sqldrivers
    but i receive the same error


    here is some code snippet
    QSqlDatabase db;
    db = QSqlDatabase::addDatabase("QIBASE");
    db.setDatabaseName("katalog.fdb");

    qDebug()<< "database " << QSqlDatabase::database();

    bool ok = db.open();

    qDebug()<< "Status konekcije " << ok;

    if (!ok)
    {
    QMessageBox::critical(0, "GOMAL", QString("SQL problem? \n\nOk to exit."));
    exit(1);
    }

    QStringList tables = db.tables();
    for (int t = 0; t < tables.count(); ++t)
    {
    QTreeWidgetItem *table = new QTreeWidgetItem();
    table->setText(0, tables.at(t));
    }

  3. #3
    Join Date
    Jul 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt - Firebird = QIBASE : driver not loaded !

    About this file libqibase.so U've copy it to wrong folder:
    home qtsdk-2009.02/qt/plugins/sqldrivers.
    U should copy it to:
    home qtsdk-2009.02/qt/src/plugins/sqldrivers.

    I had the same problem under vista and the solution was to copy:
    libqsqlibase4.a
    libqsqlibased4.a
    qsqlibase4.dll
    qsqlibased4.dll
    to (in your case) home qtsdk-2009.02/qt/plugins/sqldrivers.

  4. #4
    Join Date
    Apr 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt - Firebird = QIBASE : driver not loaded !

    Hello to everyone, I`m using Windows XP SP3 and Ubuntu 10.04. On both systems i`ve got QT4.7.0.
    Speaking about visibility ibase driver for QT, it`s not so clear.
    For my experience, i`ve made and used ibase under Win and Ubuntu on one mashine, at another machines the way i made plugin doesn`t work.
    All goes right and i`ve got the needed files qsqlibase.dll and libqsqlibase.so (on each system) but QT doesn`t see them.
    Can somebody advise the way to solve this problem?

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. mysql driver not loaded after deployment
    By tpf80 in forum Newbie
    Replies: 4
    Last Post: 4th September 2011, 10:12
  3. Help with QMYSQL driver for QT 4.4.0: driver not loaded
    By khikho in forum Installation and Deployment
    Replies: 4
    Last Post: 1st April 2011, 15:00
  4. mysql 5 connection
    By GuL in forum Newbie
    Replies: 37
    Last Post: 18th August 2008, 15:11
  5. exception at 0x65100c40 (QtGuid4.dll)
    By sabeesh in forum Qt Programming
    Replies: 11
    Last Post: 21st December 2007, 17:10

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
  •  
Qt is a trademark of The Qt Company.