X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fplugins%2Fplatforms%2Fwayland%2Fgl_integration%2Fgl_integration.pri;h=d7e268a9f1516adf35fc83bb48a69c81c7b88ba4;hb=6ace81964c8786700aaa82568e7f3a4c35b63172;hp=20c3aa0bd9ed63aaa535c764af31fa1e686489fa;hpb=8d80e7c49bb8debc3a9b8e9d57e76f6ab981f384;p=profile%2Fivi%2Fqtwayland.git diff --git a/src/plugins/platforms/wayland/gl_integration/gl_integration.pri b/src/plugins/platforms/wayland/gl_integration/gl_integration.pri index 20c3aa0..d7e268a 100644 --- a/src/plugins/platforms/wayland/gl_integration/gl_integration.pri +++ b/src/plugins/platforms/wayland/gl_integration/gl_integration.pri @@ -1,24 +1,24 @@ -contains(QT_CONFIG, opengl) { +QT_WAYLAND_GL_CONFIG = $$(QT_WAYLAND_GL_CONFIG) +contains(QT_CONFIG, opengl):!equals(QT_WAYLAND_GL_CONFIG, nogl) { + DEFINES += QT_WAYLAND_GL_SUPPORT - QT += opengl -HEADERS += \ - $$PWD/qwaylandglintegration.h + HEADERS += \ + $$PWD/qwaylandglintegration.h -SOURCES += \ - $$PWD/qwaylandglintegration.cpp + SOURCES += \ + $$PWD/qwaylandglintegration.cpp - QT_WAYLAND_GL_CONFIG = $$(QT_WAYLAND_GL_CONFIG) contains(QT_CONFIG, opengles2) { - isEqual(QT_WAYLAND_GL_CONFIG, wayland_egl) { - QT_WAYLAND_GL_INTEGRATION = $$QT_WAYLAND_GL_CONFIG - CONFIG += wayland_egl + isEqual(QT_WAYLAND_GL_CONFIG, xcomposite_egl) { + QT_WAYLAND_GL_INTEGRATION = xcomposite_egl + CONFIG += xcomposite_egl } else:isEqual(QT_WAYLAND_GL_CONFIG,readback) { QT_WAYLAND_GL_INTEGRATION = readback_egl CONFIG += readback_egl } else { - QT_WAYLAND_GL_INTEGRATION = xcomposite_egl - CONFIG += xcomposite_egl + QT_WAYLAND_GL_INTEGRATION = $$QT_WAYLAND_GL_CONFIG + CONFIG += wayland_egl } } else:mac { QT_WAYLAND_GL_INTEGRATION = readback_cgl