summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-11 15:15:39 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-11 16:37:05 +0000
commita3506fd4df9b5f12b575a054ced0b3f37cdc26c1 (patch)
treea1494f7e10c57f55515bc8b8a4503f0b6e69d318 /src/plugins
parent9dbcbeb1de09ed6495ca393b6db27aead61a5ff5 (diff)
cmake: build the tuiotouch plugin
Change-Id: I3e448fa8c21651a31429a87ee0b209eaea0fe1b1 Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/generic/CMakeLists.txt2
-rw-r--r--src/plugins/generic/tuiotouch/CMakeLists.txt26
2 files changed, 27 insertions, 1 deletions
diff --git a/src/plugins/generic/CMakeLists.txt b/src/plugins/generic/CMakeLists.txt
index a7fbd1381c..011d226ad2 100644
--- a/src/plugins/generic/CMakeLists.txt
+++ b/src/plugins/generic/CMakeLists.txt
@@ -14,7 +14,7 @@ if(QT_FEATURE_tslib)
endif()
if(QT_FEATURE_tuiotouch)
-# TODO add_subdirectory(tuiotouch)
+ add_subdirectory(tuiotouch)
endif()
if(QT_FEATURE_libinput)
diff --git a/src/plugins/generic/tuiotouch/CMakeLists.txt b/src/plugins/generic/tuiotouch/CMakeLists.txt
new file mode 100644
index 0000000000..189ff9eed2
--- /dev/null
+++ b/src/plugins/generic/tuiotouch/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from tuiotouch.pro.
+
+#####################################################################
+## qtuiotouchplugin Plugin:
+#####################################################################
+
+add_qt_plugin(qtuiotouchplugin
+ TYPE generic
+ SOURCES
+ main.cpp
+ qoscbundle.cpp qoscbundle_p.h
+ qoscmessage.cpp qoscmessage_p.h
+ qtuiocursor_p.h
+ qtuiohandler.cpp qtuiohandler_p.h
+ qtuiotoken_p.h
+ DEFINES
+ QT_NO_FOREACH
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Network
+ # OTHER_FILES = "tuiotouch.json"
+ # PLUGIN_CLASS_NAME = "QTuioTouchPlugin"
+ # PLUGIN_EXTENDS = "-"
+ # _LOADED = "qt_plugin"
+)