From 6b3d24b481d18e7df94e3cf6edcfc9762d670cee Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Mon, 24 Nov 2025 06:53:51 -0500 Subject: [PATCH] Fix build for non-Linux with Qt 6.10+ There was a LINUX check added in b3bdad4, but this should be removed as this change applies to all Qt supported platforms. Simply put, GuiPrivate CMake files were introduced in Qt 6.9 and are now enforced in Qt 6.10 and are not platform-dependent. --- Source/Core/DolphinQt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt index ba2e5522a42..e5e92ecdcf1 100644 --- a/Source/Core/DolphinQt/CMakeLists.txt +++ b/Source/Core/DolphinQt/CMakeLists.txt @@ -16,7 +16,7 @@ set(CMAKE_AUTORCC ON) find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Svg) -if (LINUX AND Qt6_VERSION VERSION_GREATER_EQUAL 6.10.0) +if (Qt6_VERSION VERSION_GREATER_EQUAL 6.10.0) # GuiPrivate is needed to #include qplatformnativeinterface.h in MainWindow.cpp with Qt 6.10+. set(NEED_QT_GUI_PRIVATE_COMPONENT ON) find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)