Compiling MySql plugin under Qt 5.14.2

Viewed 203

i'am using a Windows x64, i need to use Mysql 8 in QT 5.14.2( MinGW x64)

i've started installing MySQl driver as indicated :

2- then when, I am using:

cd $QTDIR/qtbase/src/plugins/sqldrivers/mysql

3- and run:

qmake -- MYSQL_INCDIR="C:\Program Files\MySQL\MySQL Server 8.0\include" "MYSQL_LIBDIR="C:\Program Files\MySQL\MySQL Server 8.0\lib"

I'm getting :

Project ERROR: Library 'mysql' is not defined.

in the log file it shows me that there's a missing file sybfront.h anyone knows how to solve this please

1 Answers
Related