M
M
Mercury132018-03-02 15:24:45
MySQL
Mercury13, 2018-03-02 15:24:45

How to build MySQL driver in Qt?

I am compiling Qt 5.9.3 via MinGW-W64 7.3.0 (in 5.9.4 there is an error in the build scripts, in 5.10 there is another error that is critical for us).
What is most interesting, the piece that we need - without Quick and WebEngine - was successfully assembled. Except for one thing - the MySQL driver.
Team

configure -debug-and-release -opensource -confirm-license -platform win32-g++ -developer-build -opengl desktop -plugin-sql-odbc -plugin-sql-mysql -nomake tests

Mistake
ERROR: Feature 'sql-mysql' was enabled, but the pre-condition 'libs.mysql' failed.

Where to install these libraries?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question