cmake: build the tuiotouch plugin

Change-Id: I3e448fa8c21651a31429a87ee0b209eaea0fe1b1
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-11 15:15:39 +01:00
parent 9dbcbeb1de
commit a3506fd4df
2 changed files with 27 additions and 1 deletions

View File

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

View File

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