cmake: Enable evdevmouse plugin

Change-Id: I5c213a946d6127d635cd76bc827201e379e75aa9
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-11 15:09:04 +01:00
parent 4ac0afb8ba
commit 6f5e8c8e18
3 changed files with 50 additions and 0 deletions

View File

@ -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()

View 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()

View 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"
)