Search
SailfishOS Open Build Service
>
Projects
>
home:vgrade
:
RaspberryPi
>
qtwayland
> nogl-platforms.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nogl-platforms.patch of Package qtwayland
diff -ru a/src/plugins/platforms/platforms.pro b/src/plugins/platforms/platforms.pro --- a/src/plugins/platforms/platforms.pro 2013-02-07 21:06:55.597516870 +1100 +++ b/src/plugins/platforms/platforms.pro 2013-02-11 14:25:27.796956336 +1100 @@ -2,9 +2,11 @@ CONFIG+=ordered SUBDIRS += wayland_common +QT_WAYLAND_GL_CONFIG=nogl equals(QT_WAYLAND_GL_CONFIG, nogl) { - SUBDIRS += qwayland-nogl + SUBDIRS += qwayland-nogl } else { + error("Should not reach this point") config_wayland_egl { SUBDIRS += qwayland-egl } diff -ru a/src/plugins/platforms/wayland_common/wayland_common.pri b/src/plugins/platforms/wayland_common/wayland_common.pri --- a/src/plugins/platforms/wayland_common/wayland_common.pri 2013-02-07 21:06:55.605516903 +1100 +++ b/src/plugins/platforms/wayland_common/wayland_common.pri 2013-02-11 14:23:54.820495269 +1100 @@ -1,7 +1,9 @@ QT += core-private gui-private platformsupport-private CONFIG += link_pkgconfig qpa/genericunixfontdatabase +QT_WAYLAND_GL_CONFIG=nogl !equals(QT_WAYLAND_GL_CONFIG, nogl) { + qerror("Should not reach here"); DEFINES += QT_WAYLAND_GL_SUPPORT } diff -ru a/src/plugins/platforms/wayland_common/wayland_common.pro b/src/plugins/platforms/wayland_common/wayland_common.pro --- a/src/plugins/platforms/wayland_common/wayland_common.pro 2013-02-07 21:06:55.605516903 +1100 +++ b/src/plugins/platforms/wayland_common/wayland_common.pro 2013-02-11 14:24:45.524746716 +1100 @@ -7,7 +7,9 @@ include (windowmanager_integration/windowmanager_integration.pri) +QT_WAYLAND_GL_CONFIG=nogl !equals(QT_WAYLAND_GL_CONFIG, nogl) { + qerror("Should not reach here"); DEFINES += QT_WAYLAND_GL_SUPPORT } diff -ru a/src/plugins/waylandcompositors/waylandcompositors.pro b/src/plugins/waylandcompositors/waylandcompositors.pro --- a/src/plugins/waylandcompositors/waylandcompositors.pro 2013-02-07 21:06:55.605516903 +1100 +++ b/src/plugins/waylandcompositors/waylandcompositors.pro 2013-02-11 14:25:51.377073255 +1100 @@ -1,6 +1,7 @@ TEMPLATE = subdirs !isEqual(QT_WAYLAND_GL_CONFIG,nogl) { + error("Should not reach here.") config_wayland_egl { SUBDIRS += wayland-egl }