diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a9791fea..9510fc993 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ set(KF5_MIN_VERSION "5.42.0") find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake) -find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Quick) +find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Quick Network) find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications KIO KCMUtils diff --git a/kio/CMakeLists.txt b/kio/CMakeLists.txt index fc81f4a20..024140262 100644 --- a/kio/CMakeLists.txt +++ b/kio/CMakeLists.txt @@ -11,6 +11,7 @@ target_link_libraries(kio_kdeconnect kdeconnectinterfaces Qt5::Core Qt5::Gui + Qt5::Network KF5::KIOCore KF5::I18n )