diff options
Diffstat (limited to 'qtwayland.pro')
-rw-r--r-- | qtwayland.pro | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/qtwayland.pro b/qtwayland.pro index 3390ba31f..7881a6c7a 100644 --- a/qtwayland.pro +++ b/qtwayland.pro @@ -13,14 +13,25 @@ qtCompileTest(libhybris_egl_server) load(qt_parts) -!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_wayland { + warning("QtWayland requires Wayland 1.2.0 or higher, QtWayland will not be built") + SUBDIRS = +} !config_xkbcommon { warning("No xkbcommon 0.2.0 or higher found, disabling support for it") } +!config_wayland_scanner { + warning("QtWayland requires wayland-scanner, QtWayland will not be built") + SUBDIRS = +} + +!config_wayland_cursor { + warning("QtWayland requires wayland-cursor, QtWayland will not be built") + SUBDIRS = +} + !config_wayland_egl { message("no wayland-egl support detected, cross-toolkit compatibility disabled"); } |