From 2132ac8ed2611e3820d1930bf84557e5a3acf4f8 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Mon, 21 Oct 2024 17:10:22 +0100 Subject: [PATCH] Fix Qt5 Android build --- plugins/feature/map/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/feature/map/CMakeLists.txt b/plugins/feature/map/CMakeLists.txt index 45c5d9a1e..d93b6f2d0 100644 --- a/plugins/feature/map/CMakeLists.txt +++ b/plugins/feature/map/CMakeLists.txt @@ -91,7 +91,8 @@ if(NOT SERVER_MODE) set(TARGET_LIB ${TARGET_LIB} Qt::WebEngine Qt::WebEngineCore Qt::WebEngineWidgets) elseif(Qt${QT_DEFAULT_MAJOR_VERSION}WebEngineCore_FOUND) set(TARGET_LIB ${TARGET_LIB} Qt::SvgWidgets Qt::WebEngineCore Qt::WebEngineWidgets) - else() + elseif(Qt6_FOUND) + # Not on Qt5 Android? set(TARGET_LIB ${TARGET_LIB} Qt::SvgWidgets) endif() else()