Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to connect to Firebird QT



  • Hello I would like to know how do I connect to the firebird, if there is already a driver ready for this? because I could not compile the plugins .. anyone know let me know?

    [[merged two identical threads, Tobias]]



  • Hello I would like to know how do I connect to the firebird, if there is already a driver ready for this? because I could not compile the plugins .. anyone know let me know



  • Works for me under Windows, qt 4.8.4:

    1. Install firebird into c:\firebird
    2. Modify ibase.pro <QTDIR>\src\plugins\sqldrivers\ibase\ like this:
      @TARGET = qsqlibase

    HEADERS = ../../../sql/drivers/ibase/qsql_ibase.h
    SOURCES = main.cpp
    ../../../sql/drivers/ibase/qsql_ibase.cpp
    INCLUDEPATH += c:/firebird/lib

    win32:INCLUDEPATH += C:\Firebird\include
    win32:LIBS += -lfbclient_ms
    win32:LIBS += -LC:\Firebird\lib

    unix:!contains( LIBS, .gds. ):!contains( LIBS, .libfb. ):LIBS *= -lgds

    win32:!contains( LIBS, .gds. ):!contains( LIBS, .fbclient. ) {
    !win32-borland:LIBS *= -lgds32_ms
    win32-borland:LIBS += gds32.lib
    }

    include(../qsqldriverbase.pri)@

    1. Compile it
    2. Copy binaries to <QTDIR>\plugins\sqldrivers\


  • but that vc compiler mingw or msc? and what was the version of firebird?
    There is no problem of biliotecas Reconciling?




Log in to reply