summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2013-04-19 09:31:14 +0200
committerSamuel Rødal <samuel.rodal@digia.com>2013-04-23 14:19:17 +0200
commit9c826458c7e41de5d29a4201959e51864cf2cb8d (patch)
treed3dfacf68ab9b96bb48786b2a15a54bc6b6178a4 /config.tests
parent279eecadaead90a16c5603aa35353f027faca295 (diff)
downloadqtwayland-9c826458c7e41de5d29a4201959e51864cf2cb8d.tar.gz
Made egl and wayland_egl config.tests require GLES2 configured Qt.
Otherwise the platform native interfaces won't return a valid "EGLDisplay" handle, which is required for all the EGL based integrations to work. Change-Id: I9d5031878da5bf87e1366150f75d000a2f5fc280 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/egl/egl.pro2
-rw-r--r--config.tests/wayland_egl/wayland_egl.pro2
2 files changed, 4 insertions, 0 deletions
diff --git a/config.tests/egl/egl.pro b/config.tests/egl/egl.pro
index f95e3c76..e96672e5 100644
--- a/config.tests/egl/egl.pro
+++ b/config.tests/egl/egl.pro
@@ -1,6 +1,8 @@
TARGET = egl
QT = core
+!contains(QT_CONFIG, opengles2):error("wayland_egl support currently requires Qt configured with OpenGL ES2")
+
!contains(QT_CONFIG, no-pkg-config) {
CONFIG += link_pkgconfig
PKGCONFIG += egl
diff --git a/config.tests/wayland_egl/wayland_egl.pro b/config.tests/wayland_egl/wayland_egl.pro
index 76d92b18..0db9b04f 100644
--- a/config.tests/wayland_egl/wayland_egl.pro
+++ b/config.tests/wayland_egl/wayland_egl.pro
@@ -1,6 +1,8 @@
TARGET = wayland_egl
QT = core
+!contains(QT_CONFIG, opengles2):error("wayland_egl support currently requires Qt configured with OpenGL ES2")
+
!contains(QT_CONFIG, no-pkg-config) {
CONFIG += link_pkgconfig
PKGCONFIG += wayland-egl