Это старая версия документа.


Build IBASE sql driver (windows)

download firebird

  • Download firebird zip. It must be 32-bit if you use 32-bit MinGW compiler.
  • Unpack into C:\Firebird\Firebird_2_5_32\

edit ibase.pro

C:\Qt\Qt5.4.0\5.4\Src\qtbase\src\plugins\sqldrivers\ibase\ibase.pro

TARGET = qsqlibase

SOURCES = main.cpp
OTHER_FILES += ibase.json
include(../../../sql/drivers/ibase/qsql_ibase.pri)

PLUGIN_CLASS_NAME = QIBaseDriverPlugin

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

include(../qsqldriverbase.pri)

compile

  • create bat file C:\Qt\Qt5.4.0\5.4\Src\qtbase\src\plugins\sqldrivers\ibase\compile.bat
set path=%path%;C:\Qt\Qt5.4.0\5.4\mingw491_32\bin;C:\Qt\Qt5.4.0\Tools\mingw491_32\bin
qmake -o Makefile ibase.pro
mingw32-make.exe all
dev/qt/qt_ibase_windows.1431693456.txt.gz · Последние изменения: 2015/05/15 15:37 — denis
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0