How to create a driver of Firebird for Qt 5.15.2
-
Hi and welcome to devnet,
@MyNick-0 said in How to create a driver of Firebird for Qt 5.15.2:
c:\Qt\5.15.2\mingw81_64\bin>qmake
You are in the wrong folder from the looks of it.
-
@MyNick-0 said in How to create a driver of Firebird for Qt 5.15.2:
But I have qmake.exe in the folder c:\Qt\5.15.2\mingw81_64\bin
But you have to call it in the source directory of the sqlplugins as described in the documentation...
-
@MyNick-0 said in How to create a driver of Firebird for Qt 5.15.2:
I don't have a folder c:\Qt\5.15.2\Src
Then you should install the Qt source code - how do you expect to compile Qt sources without Qt source code?
-
I enter the command: "c:\Qt\5.15.2\Src\qtbase\src\plugins\sqldrivers>c:\Qt\5.15.2\mingw81_64\bin\qmake
-- IBASE_INCDIR=c:\Progra~1\Firebird\Firebird_2_5/include IBASE_LIBS=-lfbclient"and I get a message "
Running configuration tests...
Done running configuration tests.Configure summary:
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite2 ................................ no
SQLite ................................. yes
Using system provided SQLite ......... no
TDS (Sybase) ........................... noQt is now configured for building. Just run 'mingw32-make'.
Once everything is built, you must run 'mingw32-make install'.
Qt will be installed into 'C:\Qt\5.15.2\mingw81_64'.Prior to reconfiguration, make sure you remove any leftovers from
the previous build." -
Please read the doc - it clearly states that you should take a look into config.log to see why the compiler can't find your installation. The first point I see is to use forward instead backward slashes and that you don't pass the path to the library.