From 6f4f8095c094cc8ad5812453c21bf64ad1bebc17 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Thu, 17 Apr 2025 06:56:37 +0300
Subject: [PATCH 24/24] Document Qt6Svg requirement for Qt-client

See RM #509

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 doc/INSTALL.meson    | 9 +++++++++
 doc/README.packaging | 8 ++++++++
 2 files changed, 17 insertions(+)

diff --git a/doc/INSTALL.meson b/doc/INSTALL.meson
index 19af3b4a7d..2a4df418af 100644
--- a/doc/INSTALL.meson
+++ b/doc/INSTALL.meson
@@ -18,6 +18,15 @@ common prerequisites.
 
 For the meson based build minimum version of meson is 0.60.0.
 
+
+Meson specific prerequisites for the Qt client:
+-----------------------------------------------
+
+ - If the Qt-client is built with svgflags features
+   (configured with -Dsvgflags=true), to really enable them
+   also at runtime, Qt6Svg libraries and headers are needed.
+
+
 Prerequisites for the SDL3 client:
 ----------------------------------
 
diff --git a/doc/README.packaging b/doc/README.packaging
index e5465e48c9..5738707165 100644
--- a/doc/README.packaging
+++ b/doc/README.packaging
@@ -25,6 +25,8 @@ Updating from 3.1 to 3.2
 * Minimum meson requirement for builds made with it is 0.60.0
 * Meson based build is no longer considered experimental, but a supported one
 * Build with meson supports building experimental sdl3-client
+* Qt6Svg is a new optional dependency for the Qt-client.
+  See "Qt-client svgflags support" below.
 
 ----------------------------------------------------------------------
 Compatibility of modified versions
@@ -160,6 +162,12 @@ spec files... If compression support is built into Freeciv, you can
 compress any of these files and Freeciv can still load them. Freeciv ships
 with all the data files uncompressed, except scenarios which are gzipped.
 
+----------------------------------------------------------------------
+Qt-client svgflags support
+--------------------------
+If Qt-client is built with -Dsvgflags=true, the Qt6Svg is also
+a requirement for sensible behavior.
+
 ----------------------------------------------------------------------
 Loadable AI modules
 -------------------
-- 
2.47.2

