Date: Thu, 18 Dec 2025 21:40:19 +0000 From: Jason E. Hale <jhale@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6e6bb096efdc - main - net-im/kaidan: Fix build with Qt 6.10 Message-ID: <694474c3.43585.772454b6@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e6bb096efdce3da223fc47993f8e356053b487b commit 6e6bb096efdce3da223fc47993f8e356053b487b Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2025-12-18 21:19:57 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2025-12-18 21:39:02 +0000 net-im/kaidan: Fix build with Qt 6.10 Backport upstream patch to fix build with Qt 6.10. Private Qt components must now be explicitly found with their respective CMake files. --- net-im/kaidan/files/patch-CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/net-im/kaidan/files/patch-CMakeLists.txt b/net-im/kaidan/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..20e10778f588 --- /dev/null +++ b/net-im/kaidan/files/patch-CMakeLists.txt @@ -0,0 +1,18 @@ +Backport [1] to fix build with Qt 6.10. + +[1] https://invent.kde.org/network/kaidan/-/commit/26942b401070e6628e4c85768632ca33538bb99c + +--- CMakeLists.txt.orig 2025-09-21 20:16:37 UTC ++++ CMakeLists.txt +@@ -52,6 +52,11 @@ find_package(Qt6 ${QT_MIN_VERSION} REQUIRED NO_MODULE + + # Find packages + find_package(Qt6 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Concurrent Qml Quick Svg Sql QuickControls2 Xml Multimedia Positioning Location) ++ ++if(Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0" AND NOT WIN32 AND NOT APPLE) ++ find_package(Qt6GuiPrivate ${QT_MIN_VERSION} REQUIRED NO_MODULE) ++endif() ++ + find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS KIO Kirigami Prison) + if (NOT ANDROID) + find_package(KF6 ${KF_MIN_VERSION} OPTIONAL_COMPONENTS Crash)home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?694474c3.43585.772454b6>
