summaryrefslogtreecommitdiffstats
path: root/tests/auto/compositor/compositor.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/compositor/compositor.pro')
-rw-r--r--tests/auto/compositor/compositor.pro39
1 files changed, 2 insertions, 37 deletions
diff --git a/tests/auto/compositor/compositor.pro b/tests/auto/compositor/compositor.pro
index 50378c6d4..6bf2aef6c 100644
--- a/tests/auto/compositor/compositor.pro
+++ b/tests/auto/compositor/compositor.pro
@@ -1,38 +1,3 @@
-CONFIG += testcase link_pkgconfig
-CONFIG += wayland-scanner
-TARGET = tst_compositor
+TEMPLATE=subdirs
-QT += testlib
-QT += core-private gui-private waylandcompositor waylandcompositor-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
-}
-
-WAYLANDCLIENTSOURCES += \
- ../../../src/3rdparty/protocol/xdg-shell.xml \
-
-SOURCES += tst_compositor.cpp \
- testcompositor.cpp \
- testkeyboardgrabber.cpp \
- mockclient.cpp \
- mockseat.cpp \
- testseat.cpp
-
-HEADERS += testcompositor.h \
- testkeyboardgrabber.h \
- mockclient.h \
- mockseat.h \
- testseat.h
+SUBDIRS += compositor