summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@theqtcompany.com>2016-03-17 15:51:29 +0100
committerPier Luigi Fiorini <pierluigi.fiorini@gmail.com>2016-03-17 19:45:54 +0000
commitc7aa6bae0cf827d5a6bbfebea947d557b56a2bfb (patch)
treed7bd62920d50d508e3922e9cd3cafdee64eea890 /config.tests
parentbbc24ce7708b8b31313144d43e892f5838fcfafb (diff)
downloadqtwayland-c7aa6bae0cf827d5a6bbfebea947d557b56a2bfb.tar.gz
Upgrade required Wayland version to 1.6.0
This makes sure QtWayland is only built if a Wayland version >= 1.6.0 is found. Upgraded from 1.4.0. Change-Id: Ibbd965f9e25ae9fd15d9367431574c5c1ff8b7ce Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/wayland/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.tests/wayland/main.cpp b/config.tests/wayland/main.cpp
index 612f7a16..1af00ee3 100644
--- a/config.tests/wayland/main.cpp
+++ b/config.tests/wayland/main.cpp
@@ -43,15 +43,15 @@
int main()
{
#if WAYLAND_VERSION_MAJOR < 1
-# error Wayland 1.4.0 or higher required
+# error Wayland 1.6.0 or higher required
#endif
#if WAYLAND_VERSION_MAJOR == 1
-# if WAYLAND_VERSION_MINOR < 4
-# error Wayland 1.4.0 or higher required
+# if WAYLAND_VERSION_MINOR < 6
+# error Wayland 1.6.0 or higher required
# endif
-# if WAYLAND_VERSION_MINOR == 4
+# if WAYLAND_VERSION_MINOR == 6
# if WAYLAND_VERSION_MICRO < 0
-# error Wayland 1.4.0 or higher required
+# error Wayland 1.6.0 or higher required
# endif
# endif
#endif