Answer the question
In order to leave comments, you need to log in
How to build MySQL driver on QT?
Tell me how to build a driver for mysql for QT, I seem to do everything according to the instructions, but all the time I get an error
. I enter the command in the folder with the Mysql plugin
c:\Qt\5.12.5\Src\qtbase\src\plugins\sqldrivers\mysql>qmake -- MYSQL_INCDIR=C:\mysql_5.6\include "MYSQL_LIBDIR=C:\mysql_5.6\lib\libmysql.lib" mysql.pro
Cannot read C:/Qt/5.12.5/Src/qtbase/src/plugins/sqldrivers/qtsqldrivers-config.pri: No such file or directory Project ERROR: Library 'mysql' is not defined.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question