diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-11 15:09:04 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-11 16:35:40 +0000 |
commit | 6f5e8c8e180ee3db6e81de4a8b305800bb331d7d (patch) | |
tree | 45de1c82667e417c59a69f6a2a264f4d25938775 /src/plugins/generic | |
parent | 4ac0afb8bac58b4007fb1519be78d50f31c1ab90 (diff) | |
download | qtbase-6f5e8c8e180ee3db6e81de4a8b305800bb331d7d.tar.gz |
cmake: Enable evdevmouse plugin
Change-Id: I5c213a946d6127d635cd76bc827201e379e75aa9
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/plugins/generic')
-rw-r--r-- | src/plugins/generic/CMakeLists.txt | 27 | ||||
-rw-r--r-- | src/plugins/generic/evdevmouse/CMakeLists.txt | 19 |
2 files changed, 46 insertions, 0 deletions
diff --git a/src/plugins/generic/CMakeLists.txt b/src/plugins/generic/CMakeLists.txt new file mode 100644 index 0000000000..69250ac4e8 --- /dev/null +++ b/src/plugins/generic/CMakeLists.txt @@ -0,0 +1,27 @@ + +if(QT_FEATURE_evdev) + add_subdirectory(evdevmouse) +# TODO add_subdirectory(evdevtouch) +# TODO add_subdirectory(evdevkeyboard) + + if(QT_FEATURE_tabletevent) +# TODO add_subdirectory(evdevtablet) + endif() +endif() + +if(QT_FEATURE_tslib) +# TODO add_subdirectory(tslib) +endif() + +if(QT_FEATURE_tuiotouch) +# TODO add_subdirectory(tuiotouch) +endif() + +if(QT_FEATURE_libinput) +# TODO add_subdirectory(libinput) +endif() + +if(FREEBSD) +# TODO add_subdirectory(bsdkeyboard) +# TODO add_subdirectory(bsdmouse) +endif() diff --git a/src/plugins/generic/evdevmouse/CMakeLists.txt b/src/plugins/generic/evdevmouse/CMakeLists.txt new file mode 100644 index 0000000000..686c4ab2e3 --- /dev/null +++ b/src/plugins/generic/evdevmouse/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from evdevmouse.pro. + +##################################################################### +## qevdevmouseplugin Plugin: +##################################################################### + +add_qt_plugin(qevdevmouseplugin + TYPE generic + SOURCES + main.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::InputSupportPrivate + # OTHER_FILES = "evdevmouse.json" + # PLUGIN_CLASS_NAME = "QEvdevMousePlugin" + # PLUGIN_EXTENDS = "-" + # _LOADED = "qt_plugin" +) |