git: 7327fa57e28c - main - multimedia/obs-studio: Prepare for Qt 6.10
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Dec 2025 01:04:35 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7327fa57e28c1dc460c2e630e720daab85954e96
commit 7327fa57e28c1dc460c2e630e720daab85954e96
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-12-05 00:18:57 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-12-05 01:03:42 +0000
multimedia/obs-studio: Prepare for Qt 6.10
Add patch to fix configure with Qt 6.10.
With hat: kde@
---
.../patch-frontend_plugins_frontend-tools_CMakeLists.txt | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/multimedia/obs-studio/files/patch-frontend_plugins_frontend-tools_CMakeLists.txt b/multimedia/obs-studio/files/patch-frontend_plugins_frontend-tools_CMakeLists.txt
new file mode 100644
index 000000000000..15a05c9b12c8
--- /dev/null
+++ b/multimedia/obs-studio/files/patch-frontend_plugins_frontend-tools_CMakeLists.txt
@@ -0,0 +1,14 @@
+Fix configure with Qt 6.10. Private targets are no longer implied.
+
+--- frontend/plugins/frontend-tools/CMakeLists.txt.orig 2025-10-23 13:05:44 UTC
++++ frontend/plugins/frontend-tools/CMakeLists.txt
+@@ -4,6 +4,9 @@ if(OS_LINUX OR OS_FREEBSD OR OS_OPENBSD)
+
+ if(OS_LINUX OR OS_FREEBSD OR OS_OPENBSD)
+ find_package(Qt6 REQUIRED Gui)
++ if(Qt6_VERSION VERSION_GREATER_EQUAL 6.10.0)
++ find_package(Qt6 REQUIRED GuiPrivate)
++ endif()
+ find_package(X11 REQUIRED)
+ endif()
+