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

See RM #509

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

diff --git a/INSTALL b/INSTALL
index b106bacebf..c851bbd372 100644
--- a/INSTALL
+++ b/INSTALL
@@ -18,6 +18,15 @@ common prerequisites.
 
 For the meson based build minimum version of meson is 0.63.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 c22f39e161..5ae9e92df4 100644
--- a/doc/README.packaging
+++ b/doc/README.packaging
@@ -156,6 +156,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

