1 contains(QT_CONFIG, opengl) {
2 DEFINES += QT_WAYLAND_GL_SUPPORT
6 $$PWD/qwaylandglintegration.h
9 $$PWD/qwaylandglintegration.cpp
11 QT_WAYLAND_GL_CONFIG = $$(QT_WAYLAND_GL_CONFIG)
12 contains(QT_CONFIG, opengles2) {
13 isEqual(QT_WAYLAND_GL_CONFIG, wayland_egl) {
14 QT_WAYLAND_GL_INTEGRATION = $$QT_WAYLAND_GL_CONFIG
16 } else:isEqual(QT_WAYLAND_GL_CONFIG,readback) {
17 QT_WAYLAND_GL_INTEGRATION = readback_egl
18 CONFIG += readback_egl
20 QT_WAYLAND_GL_INTEGRATION = xcomposite_egl
21 CONFIG += xcomposite_egl
24 isEqual(QT_WAYLAND_GL_CONFIG, readback) {
25 QT_WAYLAND_GL_INTEGRATION = readback_glx
26 CONFIG += readback_glx
28 QT_WAYLAND_GL_INTEGRATION = xcomposite_glx
29 CONFIG += xcomposite_glx
33 message("Wayland GL Integration: $$QT_WAYLAND_GL_INTEGRATION")
38 include ($$PWD/wayland_egl/wayland_egl.pri)
42 include ($$PWD/readback_egl/readback_egl.pri)
46 include ($$PWD/readback_glx/readback_glx.pri)
50 include ($$PWD/xcomposite_glx/xcomposite_glx.pri)
54 include ($$PWD/xcomposite_egl/xcomposite_egl.pri)