summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforminputcontexts/compose/compose.pro
blob: a4b5280e64cd2c90c722ebaf1045336c7c645ab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
TARGET = composeplatforminputcontextplugin

PLUGIN_TYPE = platforminputcontexts
PLUGIN_EXTENDS = -
PLUGIN_CLASS_NAME = QComposePlatformInputContextPlugin
load(qt_plugin)

QT += core-private gui-private

DEFINES += X11_PREFIX='\\"$$QMAKE_X11_PREFIX\\"'

SOURCES += $$PWD/qcomposeplatforminputcontextmain.cpp \
           $$PWD/qcomposeplatforminputcontext.cpp \
           $$PWD/generator/qtablegenerator.cpp \

HEADERS += $$PWD/qcomposeplatforminputcontext.h \
           $$PWD/generator/qtablegenerator.h \

# libxkbcommon
contains(QT_CONFIG, xkbcommon-qt): {
    # dont't need x11 dependency for compose key plugin
    QT_CONFIG -= use-xkbcommon-x11support
    include(../../../3rdparty/xkbcommon.pri)
} else {
    LIBS += $$QMAKE_LIBS_XKBCOMMON
    QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_XKBCOMMON
}

OTHER_FILES += $$PWD/compose.json