git: d56f43f4085e - main - emulators/fbsd-duckstation: Prepare for Qt 6.10
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Dec 2025 01:04:24 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d56f43f4085e0a87209cc8df8c438d0f63ccf2ec
commit d56f43f4085e0a87209cc8df8c438d0f63ccf2ec
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-12-04 23:13:10 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-12-05 01:03:38 +0000
emulators/fbsd-duckstation: Prepare for Qt 6.10
Backport upstream patch to fix build with Qt 6.10.
With hat: kde@
---
.../files/patch-src_duckstation-qt_CMakeLists.txt | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/emulators/fbsd-duckstation/files/patch-src_duckstation-qt_CMakeLists.txt b/emulators/fbsd-duckstation/files/patch-src_duckstation-qt_CMakeLists.txt
new file mode 100644
index 000000000000..1d34e385e3a5
--- /dev/null
+++ b/emulators/fbsd-duckstation/files/patch-src_duckstation-qt_CMakeLists.txt
@@ -0,0 +1,21 @@
+Backport [1] to fix build with Qt 6.10.
+
+[1] https://github.com/stenzek/duckstation/commit/cd37cd741cc11e887d1e8ca72f92f4ce928d7668
+
+--- src/duckstation-qt/CMakeLists.txt.orig 2024-06-14 05:59:32 UTC
++++ src/duckstation-qt/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-find_package(Qt6 6.7.0 COMPONENTS Core Gui Widgets LinguistTools REQUIRED)
++find_package(Qt6 6.7.0 COMPONENTS Core Gui GuiPrivate Widgets LinguistTools REQUIRED)
+
+ include(CopyBaseTranslations)
+
+@@ -171,7 +171,7 @@ target_include_directories(duckstation-qt PRIVATE "${Q
+ add_executable(duckstation-qt ${SRCS} ${QM_FILES})
+ target_precompile_headers(duckstation-qt PRIVATE "pch.h")
+ target_include_directories(duckstation-qt PRIVATE "${Qt6Gui_PRIVATE_INCLUDE_DIRS}" "${CMAKE_CURRENT_SOURCE_DIR}")
+-target_link_libraries(duckstation-qt PRIVATE core common imgui minizip scmversion Qt6::Core Qt6::Gui Qt6::Widgets)
++target_link_libraries(duckstation-qt PRIVATE core common imgui minizip scmversion Qt6::Core Qt6::Gui Qt6::GuiPrivate Qt6::Widgets)
+
+ # Our Qt builds may have exceptions on, so force them off.
+ target_compile_definitions(duckstation-qt PRIVATE QT_NO_EXCEPTIONS)