Skip to content

Truly independent web browser

UI/Qt: Warn when building without the Wayland page surface

Andreas Kling034ff7d8148b
diff --git a/UI/Qt/CMakeLists.txt b/UI/Qt/CMakeLists.txt
index 347198db5c0..00192b8ee2a 100644
--- a/UI/Qt/CMakeLists.txt
+++ b/UI/Qt/CMakeLists.txt
@@ -126,6 +126,10 @@ if (LINUX AND NOT ANDROID)
)
target_include_directories(ladybird PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
target_compile_definitions(ladybird PRIVATE LADYBIRD_HAS_WAYLAND_GPU_QUERY)
+ else()
+ message(WARNING "Building without the Wayland page surface. Pages on Wayland will use a fallback that can fall "
+ "behind the window as it resizes. The page surface needs the wayland-client and wayland-scanner pkg-config "
+ "modules (libwayland-dev on Debian and Ubuntu), Vulkan and glslangValidator.")
endif()
endif()