summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/mysql
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@qt.io>2019-09-02 17:37:26 +0300
committerVille Voutilainen <ville.voutilainen@qt.io>2019-09-02 15:16:42 +0000
commit3ff31ed020a38a2975e99a44303a70994f3c60f4 (patch)
tree3b9a37e516bb3b58ce927caeee38a9dfea64be98 /src/plugins/sqldrivers/mysql
parentf9842ae7d481cf5df08a000c4af7822d1bee0dd7 (diff)
Enable building of the mysql plugin
Change-Id: I8cb97afaaed46ee64b5a133e797179d7ddecdeef Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql')
-rw-r--r--src/plugins/sqldrivers/mysql/CMakeLists.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/plugins/sqldrivers/mysql/CMakeLists.txt b/src/plugins/sqldrivers/mysql/CMakeLists.txt
new file mode 100644
index 0000000000..21e03ec52c
--- /dev/null
+++ b/src/plugins/sqldrivers/mysql/CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from mysql.pro.
+
+#####################################################################
+## qsqlmysql Plugin:
+#####################################################################
+
+add_qt_plugin(qsqlmysql
+ TYPE sqldrivers
+ CLASS_NAME QMYSQLDriverPlugin
+ SOURCES
+ main.cpp
+ qsql_mysql.cpp qsql_mysql_p.h
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::SqlPrivate
+ PUBLIC_LIBRARIES
+ MySQL::MySQL
+ Qt::Core
+ Qt::Sql
+)
+
+#### Keys ignored in scope 1:.:.:mysql.pro:<TRUE>:
+# OTHER_FILES = "mysql.json"
+# PLUGIN_CLASS_NAME = "QMYSQLDriverPlugin"