diff options
author | David Redondo <qt@david-redondo.de> | 2023-12-06 14:47:49 +0100 |
---|---|---|
committer | David Redondo <qt@david-redondo.de> | 2023-12-09 08:39:10 +0100 |
commit | ad9f87968f731f351bab75f9086a6cfe9b4c19b8 (patch) | |
tree | e3c46d6f22d77145ce3458e6393c60acd83ef4fb /src | |
parent | 52de1114c4f301a8deb0c285efc6424e095bce4a (diff) |
Error out early when base was build without our native interfaces
Instead of letting people run into compile errors, bail out and explain
what's wrong.
Change-Id: I2f2067ee07d95238e287e39ce78e73eddbca836c
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/configure.cmake | 6 |
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 +) |