summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/xkbcommon-x11.pri
blob: 58e3a63b46631865872526b7757edce7ea31da17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include(xkbcommon.pri)

# Build xkbcommon-x11 support library, it depends on -lxcb and -lxcb-xkb, linking is done
# in xcb-plugin.pro (linked to system libraries or if Qt was configured with -qt-xcb then
# linked to -lxcb-static).
INCLUDEPATH += $$PWD/xkbcommon/src/x11

# Need to rename several files, qmake has problems processing a project when
# sub-directories contain files with an equal names.

SOURCES += \
    $$PWD/xkbcommon/src/x11/util.c \
    $$PWD/xkbcommon/src/x11/x11-keymap.c \ # renamed: keymap.c -> x11-keymap.c
    $$PWD/xkbcommon/src/x11/x11-state.c    # renamed: state.c  -> x11-state.c