summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qtwayland.pro17
1 files changed, 3 insertions, 14 deletions
diff --git a/qtwayland.pro b/qtwayland.pro
index a834a48a9..3390ba31f 100644
--- a/qtwayland.pro
+++ b/qtwayland.pro
@@ -13,25 +13,14 @@ qtCompileTest(libhybris_egl_server)
load(qt_parts)
-!config_wayland {
- warning("QtWayland requires Wayland 1.2.0 or higher")
- SUBDIRS =
-}
+!config_wayland: error("QtWayland requires Wayland 1.2.0 or higher")
+!config_wayland_scanner: error("QtWayland requires wayland-scanner")
+!config_wayland_cursor: error("QtWayland requires wayland-cursor")
!config_xkbcommon {
warning("No xkbcommon 0.2.0 or higher found, disabling support for it")
}
-!config_wayland_scanner {
- warning("QtWayland requires wayland-scanner")
- SUBDIRS =
-}
-
-!config_wayland_cursor {
- warning("QtWayland requires wayland-cursor")
- SUBDIRS =
-}
-
!config_wayland_egl {
message("no wayland-egl support detected, cross-toolkit compatibility disabled");
}