diff --git a/CMakeLists.txt b/CMakeLists.txt index 3cc7b09ec..d1ba52847 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ if(NOT ANDROID) find_package(SDL2 REQUIRED) endif() if(BUILD_QT_FRONTEND) - find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED) + find_package(Qt5 COMPONENTS Core Gui Widgets Network REQUIRED) endif() endif() diff --git a/dep/msvc/vsprops/QtCompile.props b/dep/msvc/vsprops/QtCompile.props index e0b581c7c..9f27aaeeb 100644 --- a/dep/msvc/vsprops/QtCompile.props +++ b/dep/msvc/vsprops/QtCompile.props @@ -26,7 +26,7 @@ $(QtLibDir);%(AdditionalLibraryDirectories) - qtmain$(QtLibSuffix).lib;Qt5Core$(QtLibSuffix).lib;Qt5Gui$(QtLibSuffix).lib;Qt5Widgets$(QtLibSuffix).lib;%(AdditionalDependencies) + qtmain$(QtLibSuffix).lib;Qt5Core$(QtLibSuffix).lib;Qt5Gui$(QtLibSuffix).lib;Qt5Widgets$(QtLibSuffix).lib;Qt5Network$(QtLibSuffix).lib;%(AdditionalDependencies) @@ -117,7 +117,7 @@ - + diff --git a/src/duckstation-qt/CMakeLists.txt b/src/duckstation-qt/CMakeLists.txt index bf97a4c46..3afa97f12 100644 --- a/src/duckstation-qt/CMakeLists.txt +++ b/src/duckstation-qt/CMakeLists.txt @@ -43,7 +43,7 @@ add_executable(duckstation-qt settingsdialog.ui ) -target_link_libraries(duckstation-qt PRIVATE core common imgui glad Qt5::Core Qt5::Gui Qt5::Widgets) +target_link_libraries(duckstation-qt PRIVATE core common imgui glad minizip Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network) if(WIN32) target_sources(duckstation-qt PRIVATE