summaryrefslogtreecommitdiffstats
path: root/src/compositor/hardware_integration/hardware_integration.pri
blob: 999434d93b49f28af9af5a26f91ee0049f98af7f (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
isEmpty(QT_WAYLAND_GL_CONFIG):QT_WAYLAND_GL_CONFIG = $$(QT_WAYLAND_GL_CONFIG)

!isEqual(QT_WAYLAND_GL_CONFIG,nogl) {
    CONFIG += wayland-scanner
    WAYLANDSERVERSOURCES += \
        ../extensions/server-buffer-extension.xml \
        ../extensions/hardware-integration.xml

    HEADERS += \
        hardware_integration/qwaylandclientbufferintegration.h \
        hardware_integration/qwaylandclientbufferintegrationfactory.h \
        hardware_integration/qwaylandclientbufferintegrationplugin.h \
        hardware_integration/qwaylandserverbufferintegration.h \
        hardware_integration/qwaylandserverbufferintegrationfactory.h \
        hardware_integration/qwaylandserverbufferintegrationplugin.h \
        hardware_integration/qwlhwintegration_p.h

    SOURCES += \
        hardware_integration/qwaylandclientbufferintegration.cpp \
        hardware_integration/qwaylandclientbufferintegrationfactory.cpp \
        hardware_integration/qwaylandclientbufferintegrationplugin.cpp \
        hardware_integration/qwaylandserverbufferintegration.cpp \
        hardware_integration/qwaylandserverbufferintegrationfactory.cpp \
        hardware_integration/qwaylandserverbufferintegrationplugin.cpp \
        hardware_integration/qwlhwintegration.cpp

    DEFINES += QT_COMPOSITOR_WAYLAND_GL
} else {
    system(echo "Qt-Compositor configured as raster only compositor")
}