summaryrefslogtreecommitdiffstats
path: root/src/compositor/hardware_integration/hardware_integration.pri
blob: 352dbaee6d357a10aedcb8516ee16988d5b3cda3 (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
QT += core

isEmpty(QT_WAYLAND_GL_CONFIG):QT_WAYLAND_GL_CONFIG = $$(QT_WAYLAND_GL_CONFIG)

!isEqual(QT_WAYLAND_GL_CONFIG,nogl) {
    HEADERS += \
        $$PWD/graphicshardwareintegration.h

    SOURCES += \
        $$PWD/graphicshardwareintegration.cpp

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

HEADERS += \
    hardware_integration/graphicshardwareintegrationplugin.h \
    hardware_integration/graphicshardwareintegrationfactory.h

SOURCES += \
    hardware_integration/graphicshardwareintegrationplugin.cpp \
    hardware_integration/graphicshardwareintegrationfactory.cpp