1 isEmpty(QT_WAYLAND_GL_CONFIG):QT_WAYLAND_GL_CONFIG = $$(QT_WAYLAND_GL_CONFIG)
3 !mac:!isEqual(QT_WAYLAND_GL_CONFIG,nogl) {
5 $$PWD/graphicshardwareintegration.h
8 $$PWD/graphicshardwareintegration.cpp
10 DEFINES += QT_COMPOSITOR_WAYLAND_GL
12 isEqual(QT_WAYLAND_GL_CONFIG, custom) {
13 QT_WAYLAND_GL_INTEGRATION = $$QT_WAYLAND_GL_CONFIG
15 contains(QT_CONFIG, opengles2) {
16 isEqual(QT_WAYLAND_GL_CONFIG, xcomposite_egl) {
17 QT_WAYLAND_GL_INTEGRATION = xcomposite_egl
18 CONFIG += xcomposite_egl
19 } else:isEqual(QT_WAYLAND_GL_CONFIG,dri2_xcb) {
20 QT_WAYLAND_GL_INTEGRATION = $$QT_WAYLAND_GL_CONFIG
23 QT_WAYLAND_GL_INTEGRATION = $$QT_WAYLAND_GL_CONFIG
25 DEFINES += MESA_EGL_NO_X11_HEADERS
28 QT_WAYLAND_GL_INTEGRATION = xcomposite_glx
29 CONFIG += xcomposite_glx
32 system(echo "Qt-Compositor configured with openGL: $$QT_WAYLAND_GL_INTEGRATION")
34 system(echo "Qt-Compositor configured as raster only compositor")
38 include (wayland_egl/wayland_egl.pri)
41 include (dri2_xcb/dri2_xcb.pri)
44 include (xcomposite_egl/xcomposite_egl.pri)
47 include (xcomposite_glx/xcomposite_glx.pri)