summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.tests/wayland/main.cpp9
-rw-r--r--qtwayland.pro2
2 files changed, 8 insertions, 3 deletions
diff --git a/config.tests/wayland/main.cpp b/config.tests/wayland/main.cpp
index c03d80349..e247df3f8 100644
--- a/config.tests/wayland/main.cpp
+++ b/config.tests/wayland/main.cpp
@@ -43,7 +43,12 @@
int main()
{
#if WAYLAND_VERSION_MAJOR < 1
-# error Wayland 1.0.0 or higher required
+# error Wayland 1.0.3 or higher required
+#endif
+#if WAYLAND_VERSION_MINOR == 0
+# if WAYLAND_VERSION_MICRO < 3
+# error Wayland 1.0.3 or higher required
+# endif
#endif
return 0;
-} \ No newline at end of file
+}
diff --git a/qtwayland.pro b/qtwayland.pro
index ee0e5ac1b..3d5a6b07e 100644
--- a/qtwayland.pro
+++ b/qtwayland.pro
@@ -11,7 +11,7 @@ qtCompileTest(xcomposite)
load(qt_parts)
!config_wayland {
- error(QtWayland requires Wayland 1.0.0 or higher)
+ error(QtWayland requires Wayland 1.0.3 or higher)
}
!config_xkbcommon {