Различия
Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
dev:qt:qt_ibase_linux [2015/05/07 20:55] denis |
dev:qt:qt_ibase_linux [2015/05/08 06:53] (текущий) denis |
||
|---|---|---|---|
| Строка 3: | Строка 3: | ||
| [[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/firebird-2-5-4/#Linux_AMD64|here]]. | + | 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/firebird/include" "LIBS+=-L/opt/firebird/lib -lfbclient" ibase.pro | + | $QTDIR/qtbase/bin/qmake "INCLUDEPATH+=/opt/firebird/include" "LIBS+=-L/opt/firebird/lib -lfbclient" ibase.pro |
| make | make | ||
| - | make install | + | |
| + | |||
| + | ---- | ||
| + | |||
| + | 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 | ||
| + | |||
| + | |||
| + | | ||