summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2013-11-22 14:39:33 +0100
committerAndrew Knight <andrew.knight@digia.com>2013-11-25 09:11:23 +0100
commita66b1f17cdc9babb265ad40a4705833d490ffd42 (patch)
tree34a9a9c84f4ccc443aa62ce55c745f8cf8a013a2 /config.tests
parent88b13ef7d8c7487f13cfa431b2ef0e9d0d1f2636 (diff)
downloadqtwayland-a66b1f17cdc9babb265ad40a4705833d490ffd42.tar.gz
Only build Walyand EGL QPA if EGL is supported by base
Change-Id: I1e6e39e177d4c173b6eedf2c311bcfe0f9693705 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/egl/egl.pro3
-rw-r--r--config.tests/wayland_egl/wayland_egl.pro1
2 files changed, 3 insertions, 1 deletions
diff --git a/config.tests/egl/egl.pro b/config.tests/egl/egl.pro
index 9886579b..402477db 100644
--- a/config.tests/egl/egl.pro
+++ b/config.tests/egl/egl.pro
@@ -1,7 +1,8 @@
TARGET = egl
QT = core
-!contains(QT_CONFIG, opengl): error("wayland_egl support requires Qt configured with OpenGL")
+!contains(QT_CONFIG, opengl): error("egl support requires Qt configured with OpenGL")
+!contains(QT_CONFIG, egl): error("egl support requires Qt configured with EGL")
!contains(QT_CONFIG, no-pkg-config) {
CONFIG += link_pkgconfig
diff --git a/config.tests/wayland_egl/wayland_egl.pro b/config.tests/wayland_egl/wayland_egl.pro
index 3b7fdfe5..42d6b131 100644
--- a/config.tests/wayland_egl/wayland_egl.pro
+++ b/config.tests/wayland_egl/wayland_egl.pro
@@ -2,6 +2,7 @@ TARGET = wayland_egl
QT = core
!contains(QT_CONFIG, opengl): error("wayland_egl support requires Qt configured with OpenGL")
+!contains(QT_CONFIG, egl): error("wayland_egl support requires Qt configured with EGL")
!contains(QT_CONFIG, no-pkg-config) {
CONFIG += link_pkgconfig