Solved Ibase error
-
Error when compiling driver.
https://bugreports.qt.io/browse/QTBUG-58372cd qtbase
qmake – <your relevant configure options go here>
cd src/sql
qmake
cd ../plugins/sqldrivers
qmake
makeAt the last stage:
-
Hi and welcome to devnet,
What parameters did you pass ?
-
@SGaist I made qmake for qbase with parameters "INCLUDEPATH+=/usr/include" "LIBS+=-L/usr/lib -lfbclient", then for src/sql, without error. With qmake plugins/sqldrivers, this error occurs.
-
Which qmake did you use ?
-
@SGaist
C:\Qt\Qt5.8.0\5.8\mingw53_32\bin\qmake.exe
QMake version 3.1
Using Qt version 5.8.0 in C:/Qt/Qt5.8.0/5.8/mingw53_32/lib -
What I did lately to workaround that problem is to comment the QMAKE_USE statement, and call qmake as before in the plugin source folder with the parameters to point to the right library.
All that without calling qmake in the qtbase nor sql folder.
-
@SGaist The error did not disappear
-
I'd do that from a clean source tree. Or rather, I'd do that from an out of source build.
-
@SGaist It worked. Thank you very much.
-
Great !
In that case, please mark the thread as solved using the "Topic Tools" button so that other forum members may know a solution has been found :)