cmake: Enable evdevmouse plugin
Change-Id: I5c213a946d6127d635cd76bc827201e379e75aa9 Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
4ac0afb8ba
commit
6f5e8c8e18
@ -1,4 +1,8 @@
|
||||
if(QT_FEATURE_gui)
|
||||
add_subdirectory(imageformats)
|
||||
add_subdirectory(platforms)
|
||||
|
||||
if (NOT ANDROID AND QT_FEATURE_library)
|
||||
add_subdirectory(generic)
|
||||
endif()
|
||||
endif()
|
||||
|
27
src/plugins/generic/CMakeLists.txt
Normal file
27
src/plugins/generic/CMakeLists.txt
Normal file
@ -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()
|
19
src/plugins/generic/evdevmouse/CMakeLists.txt
Normal file
19
src/plugins/generic/evdevmouse/CMakeLists.txt
Normal file
@ -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"
|
||||
)
|
Loading…
Reference in New Issue
Block a user