cmake: enable the compose plugin
Change-Id: I0201b37531f7ba7380b2ca2f221283dda9a601a0 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>bb10
parent
dee2413bfc
commit
d6aed4b3d0
|
|
@ -4,7 +4,7 @@ if(QT_FEATURE_dbus AND (NOT APPLE_OSX) AND (NOT WIN32))
|
|||
endif()
|
||||
|
||||
if(QT_FEATURE_xcb)
|
||||
# TODO add_subdirectory(compose)
|
||||
add_subdirectory(compose)
|
||||
endif()
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,27 @@
|
|||
# Generated from compose.pro.
|
||||
|
||||
find_package(XKB)
|
||||
|
||||
pkg_get_variable(PKG_X11_PREFIX x11 prefix)
|
||||
|
||||
#####################################################################
|
||||
## composeplatforminputcontextplugin Plugin:
|
||||
#####################################################################
|
||||
|
||||
add_qt_plugin(composeplatforminputcontextplugin
|
||||
TYPE platforminputcontexts
|
||||
SOURCES
|
||||
generator/qtablegenerator.cpp generator/qtablegenerator.h
|
||||
qcomposeplatforminputcontext.cpp qcomposeplatforminputcontext.h
|
||||
qcomposeplatforminputcontextmain.cpp
|
||||
DEFINES
|
||||
X11_PREFIX="${PKG_X11_PREFIX}"
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
XKB::XKB
|
||||
# OTHER_FILES = "$$PWD/compose.json"
|
||||
# PLUGIN_CLASS_NAME = "QComposePlatformInputContextPlugin"
|
||||
# PLUGIN_EXTENDS = "-"
|
||||
# _LOADED = "qt_plugin"
|
||||
)
|
||||
Loading…
Reference in New Issue