2ad9816
diff -up qtbase-opensource-src-5.9.0/src/plugins/sqldrivers/mysql/qsql_mysql.cpp.than qtbase-opensource-src-5.9.0/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
2ad9816
diff -up qtbase-opensource-src-5.9.0/src/plugins/sqldrivers/mysql/qsql_mysql_p.h.than qtbase-opensource-src-5.9.0/src/plugins/sqldrivers/mysql/qsql_mysql_p.h
2ad9816
--- qtbase-opensource-src-5.9.0/src/plugins/sqldrivers/mysql/qsql_mysql_p.h.than	2017-07-14 13:43:50.831203768 +0200
2ad9816
+++ qtbase-opensource-src-5.9.0/src/plugins/sqldrivers/mysql/qsql_mysql_p.h	2017-07-14 13:44:24.364948006 +0200
2ad9816
@@ -58,6 +58,7 @@
2ad9816
 #endif
2ad9816
 
2ad9816
 #include <mysql.h>
2ad9816
+#include <mysql_version.h>
2ad9816
 
2ad9816
 #ifdef QT_PLUGIN
2ad9816
 #define Q_EXPORT_SQLDRIVER_MYSQL