diff --git a/emulators/pcsx2/files/patch-cmake-SearchForStuff.cmake b/emulators/pcsx2/files/patch-cmake-SearchForStuff.cmake index e67cb027fb7f..78085c60ee3c 100644 --- a/emulators/pcsx2/files/patch-cmake-SearchForStuff.cmake +++ b/emulators/pcsx2/files/patch-cmake-SearchForStuff.cmake @@ -1,11 +1,26 @@ ---- cmake/SearchForStuff.cmake.orig 2025-06-23 10:47:03 UTC +Backport [1] to fix build with Qt 6.10. + +[1] https://github.com/PCSX2/pcsx2/commit/8dffc857079e942ca77b091486c20c3c6530e4ed + +--- cmake/SearchForStuff.cmake.orig 2025-06-29 19:47:12 UTC +++ cmake/SearchForStuff.cmake @@ -1,6 +1,8 @@ #------------------------------------------------------------------------------- # Search all libraries on the system #------------------------------------------------------------------------------- +list(APPEND CMAKE_MODULE_PATH ${CMAKE_LOCALBASE}/lib/cmake/SDL3_ttf) +include(PkgConfigHelper) find_package(Git) # Require threads on all OSes. +@@ -108,6 +110,10 @@ find_package(Qt6 6.7.3 COMPONENTS CoreTools Core GuiTo + + # Find the Qt components that we need. + find_package(Qt6 6.7.3 COMPONENTS CoreTools Core GuiTools Gui WidgetsTools Widgets LinguistTools REQUIRED) ++ ++if(Qt6_VERSION VERSION_GREATER_EQUAL 6.10.0) ++ find_package(Qt6 COMPONENTS GuiPrivate REQUIRED) ++endif() + + if(WIN32) + add_subdirectory(3rdparty/rainterface EXCLUDE_FROM_ALL) diff --git a/emulators/pcsx2/files/patch-pcsx2-qt_CMakeLists.txt b/emulators/pcsx2/files/patch-pcsx2-qt_CMakeLists.txt new file mode 100644 index 000000000000..859962dfd714 --- /dev/null +++ b/emulators/pcsx2/files/patch-pcsx2-qt_CMakeLists.txt @@ -0,0 +1,14 @@ +Back port [1] to fix build with Qt 6.10. + +[1] https://github.com/PCSX2/pcsx2/commit/8dffc857079e942ca77b091486c20c3c6530e4ed + +--- pcsx2-qt/CMakeLists.txt.orig 2025-06-29 19:47:12 UTC ++++ pcsx2-qt/CMakeLists.txt +@@ -265,6 +265,7 @@ target_link_libraries(pcsx2-qt PRIVATE + PCSX2 + Qt6::Core + Qt6::Gui ++ Qt6::GuiPrivate + Qt6::Widgets + KDAB::kddockwidgets + )