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:
- Install firebird into c:\firebird
- 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/libwin32:INCLUDEPATH += C:\Firebird\include
win32:LIBS += -lfbclient_ms
win32:LIBS += -LC:\Firebird\libunix:!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)@
- Compile it
- 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? -
Duplicate of "this thread":https://qt-project.org/forums/viewthread/27183/