From d8442d4d968f55e8804fea3cc2d2d84f60595982 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Mon, 20 Jun 2022 23:56:53 +0400 Subject: [PATCH] Automatically disable Wayland integration with Qt 5 --- variables.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/variables.cmake b/variables.cmake index aaafc6a..0f4f412 100644 --- a/variables.cmake +++ b/variables.cmake @@ -39,6 +39,11 @@ else() set(DESKTOP_APP_MAC_ARCH "x86_64;arm64" CACHE STRING "Target macOS arch. (macOS only)") endif() +# QtWaylandScanner cmake integration from Qt 6 is used +if (NOT DESKTOP_APP_QT6) + set(DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION ON) +endif() + set(add_hunspell_library 0) if ((WIN32 OR (LINUX AND NOT DESKTOP_APP_USE_ENCHANT)