summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/configure.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/configure.cmake b/src/configure.cmake
index 4270e8196..4769441e5 100644
--- a/src/configure.cmake
+++ b/src/configure.cmake
@@ -265,3 +265,9 @@ qt_configure_add_summary_entry(ARGS "wayland-dmabuf-server-buffer")
qt_configure_add_summary_entry(ARGS "wayland-shm-emulation-server-buffer")
qt_configure_add_summary_entry(ARGS "wayland-vulkan-server-buffer")
qt_configure_end_summary_section() # end of "Qt Wayland Drivers" section
+
+qt_configure_add_report_entry(
+ TYPE ERROR
+ MESSAGE "Qt Wayland Client requires QtGui to be build with support for wayland"
+ CONDITION NOT QT_FEATURE_wayland AND QT_FEATURE_wayland_client
+)