summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qwayland-xcomposite-egl/qwayland-xcomposite-egl.pro
blob: e41cf59b44b0c6223063b23df7d7c0baae77e979 (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
PLUGIN_TYPE = platforms
load(qt_plugin)

include(../wayland_common/wayland_common.pri)
include (../xcomposite_share/xcomposite_share.pri)

OTHER_FILES += qwayland-xcomposite-egl.json

contains(DEFINES, QT_WAYLAND_WINDOWMANAGER_SUPPORT) {
    WAYLANDCLIENTSOURCES += ../../../extensions/windowmanager.xml
}

!contains(QT_CONFIG, no-pkg-config) {
    CONFIG += link_pkgconfig
    PKGCONFIG += xcomposite egl x11
} else {
    LIBS += -lXcomposite -lEGL -lX11
}

SOURCES += \
    qwaylandxcompositeeglcontext.cpp \
    qwaylandxcompositeeglintegration.cpp \
    qwaylandxcompositeeglwindow.cpp \
    main.cpp

HEADERS += \
    qwaylandxcompositeeglcontext.h \
    qwaylandxcompositeeglintegration.h \
    qwaylandxcompositeeglwindow.h