summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor.pro
blob: 67f34c899bf35bac97177e9bd3f9072146ff2ee7 (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  = QtCompositor
QT = core gui-private

contains(QT_CONFIG, opengl):MODULE_DEFINES = QT_COMPOSITOR_WAYLAND_GL

load(qt_module)

CONFIG += link_pkgconfig

DEFINES += QT_WAYLAND_WINDOWMANAGER_SUPPORT

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

INCLUDEPATH += ../shared
HEADERS += ../shared/qwaylandmimehelper.h
SOURCES += ../shared/qwaylandmimehelper.cpp
HEADERS += qwayland-server-wayland.h

include ($$PWD/global/global.pri)
include ($$PWD/wayland_wrapper/wayland_wrapper.pri)
include ($$PWD/hardware_integration/hardware_integration.pri)
include ($$PWD/compositor_api/compositor_api.pri)
include ($$PWD/windowmanagerprotocol/windowmanagerprotocol.pri)