diff --git a/CMakeLists.txt b/CMakeLists.txt index 72c2f4c5b..adcd1cc75 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) find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS DocTools) 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 )