[med-svn] [Git][med-team/ctk][cifix] Backport upstream PR fixing qt6svg configure bug
Fernando Hueso (@ferdymercury)
gitlab at salsa.debian.org
Thu Aug 13 10:46:36 BST 2026
Fernando Hueso pushed to branch cifix at Debian Med / ctk
Commits:
8d2277b7 by Fernando Hueso at 2026-08-13T09:46:34+00:00
Backport upstream PR fixing qt6svg configure bug
See https://github.com/commontk/CTK/pull/1453
- - - - -
1 changed file:
- + debian/patches/qt6svg_1453.patch
Changes:
=====================================
debian/patches/qt6svg_1453.patch
=====================================
@@ -0,0 +1,37 @@
+From ea7f052c96a11ebf014d35e99766d3e1c0f975d2 Mon Sep 17 00:00:00 2001
+From: ferdymercury <ferdymercury at users.noreply.github.com>
+Date: Tue, 11 Aug 2026 16:54:59 +0200
+Subject: [PATCH] FIX: configure error on Ubuntu26
+
+CMake Error at CMake/ctkMacroBuildLib.cmake:161 (target_link_libraries):
+ Target "CTKDICOMCore" links to:
+
+ Qt6::Svg
+
+ but the target was not found. Possible reasons include:
+
+ * There is a typo in the target name.
+ * A find_package call is missing for an IMPORTED target.
+ * An ALIAS target is missing.
+
+Call Stack (most recent call first):
+ Libs/DICOM/Core/CMakeLists.txt:207 (ctkMacroBuildLib)
+---
+ CMake/ctkMacroSetupQt.cmake | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/CMake/ctkMacroSetupQt.cmake b/CMake/ctkMacroSetupQt.cmake
+index e4b4ff01f2f0ca00383b8afe227d173e9ce229e8..49b5d16521c141b60c96353023aaf50dbf10dfea 100644
+--- a/CMake/ctkMacroSetupQt.cmake
++++ b/CMake/ctkMacroSetupQt.cmake
+@@ -137,6 +137,10 @@ macro(ctkMacroSetupQt)
+ list(APPEND CTK_QT_COMPONENTS Network)
+ endif()
+
++ if(CTK_ENABLE_DICOM)
++ list(APPEND CTK_QT_COMPONENTS Svg)
++ endif()
++
+ if(CTK_QT_VERSION VERSION_EQUAL "5")
+ find_package(Qt5 COMPONENTS ${CTK_QT_COMPONENTS} REQUIRED)
+ mark_as_superbuild(Qt5_DIR) # Qt 5
View it on GitLab: https://salsa.debian.org/med-team/ctk/-/commit/8d2277b7c69f69fcd62c42f101bd67cc111f5adf
--
View it on GitLab: https://salsa.debian.org/med-team/ctk/-/commit/8d2277b7c69f69fcd62c42f101bd67cc111f5adf
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260813/24915c06/attachment-0001.htm>
More information about the debian-med-commit
mailing list