Skip to content
Snippets Groups Projects
Commit 6b7a94b5 authored by Liang Qi's avatar Liang Qi Committed by Paul Olav Tvete
Browse files

Merge remote-tracking branch 'origin/5.6' into 5.7

Conflicts:
	tests/auto/compositor/compositor.pro
	tests/auto/compositor/compositor/compositor.pro

Change-Id: Id9f3cf97ca3b600bdafba846908643ff0f8964b9
parents 625f257e 2cc75804
No related branches found
No related tags found
No related merge requests found
Showing
with 72 additions and 61 deletions
CONFIG += testcase link_pkgconfig
TARGET = tst_client
TEMPLATE=subdirs
QT += testlib
QT += core-private gui-private
!contains(QT_CONFIG, no-pkg-config) {
PKGCONFIG += wayland-client wayland-server
} else {
LIBS += -lwayland-client -lwayland-server
}
CONFIG += wayland-scanner
WAYLANDSERVERSOURCES += \
../../../src/3rdparty/protocol/wayland.xml
SOURCES += tst_client.cpp \
mockcompositor.cpp \
mockinput.cpp \
mockshell.cpp \
mocksurface.cpp \
mockoutput.cpp
HEADERS += mockcompositor.h \
mockinput.h \
mocksurface.h \
SUBDIRS += client
CONFIG += testcase link_pkgconfig
TARGET = tst_client
QT += testlib
QT += core-private gui-private
!contains(QT_CONFIG, no-pkg-config) {
PKGCONFIG += wayland-client wayland-server
} else {
LIBS += -lwayland-client -lwayland-server
}
CONFIG += wayland-scanner
WAYLANDSERVERSOURCES += \
../../../../src/3rdparty/protocol/wayland.xml
SOURCES += \
tst_client.cpp \
mockcompositor.cpp \
mockinput.cpp \
mockshell.cpp \
mocksurface.cpp \
mockoutput.cpp
HEADERS += \
mockcompositor.h \
mockinput.h \
mocksurface.h
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 \
testinputdevice.cpp
HEADERS += testcompositor.h \
testkeyboardgrabber.h \
mockclient.h \
mockseat.h \
testinputdevice.h
SUBDIRS += compositor
CONFIG += testcase link_pkgconfig
CONFIG += wayland-scanner
TARGET = tst_compositor
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 \
testinputdevice.cpp
HEADERS += \
testcompositor.h \
testkeyboardgrabber.h \
mockclient.h \
mockseat.h \
testinputdevice.h
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment