Различия
Здесь показаны различия между двумя версиями данной страницы.
| Следующая версия | Предыдущая версия | ||
|
dev:qt:qt_ibase_linux [2015/05/07 20:50] denis создано |
dev:qt:qt_ibase_linux [2015/05/08 06:53] (текущий) denis |
||
|---|---|---|---|
| Строка 2: | Строка 2: | ||
| [[http://doc.qt.io/qt-5/sql-driver.html#qibase-for-borland-interbase|source]] | [[http://doc.qt.io/qt-5/sql-driver.html#qibase-for-borland-interbase|source]] | ||
| + | |||
| + | Prior install firebird to ''/opt/firebird'' from [[http://www.firebirdsql.org/en/downloads/|here]]. | ||
| cd $QTDIR/qtbase/src/plugins/sqldrivers/ibase | cd $QTDIR/qtbase/src/plugins/sqldrivers/ibase | ||
| - | qmake "INCLUDEPATH+=/opt/interbase/include" "LIBS+=-L/opt/interbase/lib -lfbclient" ibase.pro | + | $QTDIR/qtbase/bin/qmake "INCLUDEPATH+=/opt/firebird/include" "LIBS+=-L/opt/firebird/lib -lfbclient" ibase.pro |
| make | make | ||
| + | | ||
| + | |||
| + | ---- | ||
| + | |||
| + | Note: if there is an error like: ''/usr/bin/ld.gold: error: cannot find -lgds'', search for ''libgds*'' in ''/usr'' and add it to qmake command. Suppose it was found in ''/usr/lib64'': | ||
| + | qmake "INCLUDEPATH+=/opt/firebird/include" "LIBS+=-L/opt/firebird/lib -L/usr/lib64 -lfbclient" ibase.pro | ||
| + | | ||
| + | | ||
| + | | ||