From 7ec57692b126b77eaee54efbc9e960e6508c48b2 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 21 Nov 2023 16:15:39 +1000 Subject: [PATCH] Qt: Remove QtNetwork dependency --- cmake/SearchForStuff.cmake | 2 +- common/vsprops/QtCompile.props | 16 ++++------------ pcsx2-qt/CMakeLists.txt | 1 - 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake index df3c44e34d..9683626f3d 100644 --- a/cmake/SearchForStuff.cmake +++ b/cmake/SearchForStuff.cmake @@ -156,7 +156,7 @@ disable_compiler_warnings_for_target(cubeb) disable_compiler_warnings_for_target(speex) # Find the Qt components that we need. -find_package(Qt6 6.6.0 COMPONENTS CoreTools Core GuiTools Gui WidgetsTools Widgets Network LinguistTools REQUIRED) +find_package(Qt6 6.6.0 COMPONENTS CoreTools Core GuiTools Gui WidgetsTools Widgets LinguistTools REQUIRED) if(WIN32) add_subdirectory(3rdparty/rainterface EXCLUDE_FROM_ALL) diff --git a/common/vsprops/QtCompile.props b/common/vsprops/QtCompile.props index ff2e4b63eb..a9e9021756 100644 --- a/common/vsprops/QtCompile.props +++ b/common/vsprops/QtCompile.props @@ -32,7 +32,7 @@ $(QtLibDir);%(AdditionalLibraryDirectories) - Qt6Core$(QtLibSuffix).lib;Qt6Gui$(QtLibSuffix).lib;Qt6Widgets$(QtLibSuffix).lib;Qt6Network$(QtLibSuffix).lib;Qt6Concurrent$(QtLibSuffix).lib;%(AdditionalDependencies) + Qt6Core$(QtLibSuffix).lib;Qt6Gui$(QtLibSuffix).lib;Qt6Widgets$(QtLibSuffix).lib;Qt6Concurrent$(QtLibSuffix).lib;%(AdditionalDependencies) @@ -118,24 +118,21 @@ - + - - - $(QtBinaryOutputDir)qt.conf + Inputs="@(QtDlls);@(QtPlugins)" + Outputs="@(QtDlls -> '$(QtBinaryOutputDir)%(RecursiveDir)%(Filename)%(Extension)');@(QtPluginsDest)"> -