summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-11 15:11:22 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-11 16:36:01 +0000
commitdb8e4077d177a0402a921bf3e2259b154423fbc6 (patch)
tree22ca25deda2585a00de4314c4494eff0d7f07a9f /src
parent3e18790103a2bf5c23fe3afcbb3edb0e991514fe (diff)
cmake: Enable evdevkeyboard plugin
Change-Id: I74b000ce657dbc0573f97a095391902917fe8f80 Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/generic/CMakeLists.txt2
-rw-r--r--src/plugins/generic/evdevkeyboard/CMakeLists.txt19
2 files changed, 20 insertions, 1 deletions
diff --git a/src/plugins/generic/CMakeLists.txt b/src/plugins/generic/CMakeLists.txt
index 2dbbd0b99b..39af90fb9a 100644
--- a/src/plugins/generic/CMakeLists.txt
+++ b/src/plugins/generic/CMakeLists.txt
@@ -2,7 +2,7 @@
if(QT_FEATURE_evdev)
add_subdirectory(evdevmouse)
add_subdirectory(evdevtouch)
-# TODO add_subdirectory(evdevkeyboard)
+ add_subdirectory(evdevkeyboard)
if(QT_FEATURE_tabletevent)
# TODO add_subdirectory(evdevtablet)
diff --git a/src/plugins/generic/evdevkeyboard/CMakeLists.txt b/src/plugins/generic/evdevkeyboard/CMakeLists.txt
new file mode 100644
index 0000000000..6b63d8825f
--- /dev/null
+++ b/src/plugins/generic/evdevkeyboard/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from evdevkeyboard.pro.
+
+#####################################################################
+## qevdevkeyboardplugin Plugin:
+#####################################################################
+
+add_qt_plugin(qevdevkeyboardplugin
+ TYPE generic
+ SOURCES
+ main.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::InputSupportPrivate
+ # OTHER_FILES = "evdevkeyboard.json"
+ # PLUGIN_CLASS_NAME = "QEvdevKeyboardPlugin"
+ # PLUGIN_EXTENDS = "-"
+ # _LOADED = "qt_plugin"
+)