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

contains(QT_CONFIG, opengl):MODULE_DEFINES = QT_COMPOSITOR_WAYLAND_GL

MODULE_PLUGIN_TYPES = wayland-graphics-integration-server
load(qt_module)

CONFIG -= precompile_header
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

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)