vcpkg/ports/qt5-base/patches/mysql_plugin_include.patch
Daniele Lupo a8f5147bbc
[qt5-base] mysql plugin added (#15170)
* qt5-base: added mysql plugin.

* Fixed netcdf patch.

* Build only on windows.

* mysql plugin as module

The MySQL plugin for QT now is a module of qt5-base

* Update ports/qt5-base/portfile.cmake

Co-authored-by: Daniele Lupo <daniele.lupo@log-in.it>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-01-11 20:49:05 -08:00

12 lines
258 B
Diff

--- a/src/plugins/sqldrivers/mysql/qsql_mysql_p.h
+++ b/src/plugins/sqldrivers/mysql/qsql_mysql_p.h
@@ -57,7 +57,7 @@
#include <QtCore/qt_windows.h>
#endif
-#include <mysql.h>
+#include <mysql/mysql.h>
#ifdef QT_PLUGIN
#define Q_EXPORT_SQLDRIVER_MYSQL