summaryrefslogtreecommitdiffstats
path: root/qtwayland.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qtwayland.pro')
-rw-r--r--qtwayland.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/qtwayland.pro b/qtwayland.pro
index 651045e30..40c629540 100644
--- a/qtwayland.pro
+++ b/qtwayland.pro
@@ -1,4 +1,5 @@
load(configure)
+qtCompileTest(wayland)
qtCompileTest(xkbcommon)
qtCompileTest(brcm_egl)
qtCompileTest(egl)
@@ -7,3 +8,7 @@ qtCompileTest(wayland_egl)
qtCompileTest(xcomposite)
load(qt_parts)
+
+!config_wayland {
+ error(QtWayland requires Wayland 1.0.0 or higher)
+}