summaryrefslogtreecommitdiffstats
path: root/tests/auto/compositor/compositor.pro
blob: 035beeb411c71f00c4859fdbf5adf5864532624e (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
30
31
32
33
34
CONFIG += testcase link_pkgconfig
TARGET = tst_compositor

QT += testlib
QT += core-private gui-private compositor compositor-private

!contains(QT_CONFIG, no-pkg-config) {
    PKGCONFIG += wayland-client wayland-server
} else {
    LIBS += -lwayland-client -lwayland-server
}

config_xkbcommon {
    !contains(QT_CONFIG, no-pkg-config) {
        PKGCONFIG_PRIVATE += xkbcommon
    } else {
        LIBS_PRIVATE += -lxkbcommon
    }
} else {
    DEFINES += QT_NO_WAYLAND_XKB
}

SOURCES += tst_compositor.cpp \
           testcompositor.cpp \
           testkeyboardgrabber.cpp \
           mockclient.cpp \
           mockseat.cpp \
           testinputdevice.cpp

HEADERS += testcompositor.h \
           testkeyboardgrabber.h \
           mockclient.h \
           mockseat.h \
           testinputdevice.h