From fe268c617b729bcfbae43fd99701d2bbc8c95505 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Thu, 16 Oct 2025 08:15:25 +0200 Subject: [PATCH 1/3] Daggy requires Qt Network due precompiled Signed-off-by: Uilian Ries --- src/Daggy/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Daggy/CMakeLists.txt b/src/Daggy/CMakeLists.txt index cf3cee37..efa9d086 100644 --- a/src/Daggy/CMakeLists.txt +++ b/src/Daggy/CMakeLists.txt @@ -2,7 +2,7 @@ set(TARGET daggy) option(PCAPNG_SUPPORT "pcap to pcapng convertor" OFF) -find_package(Qt6 COMPONENTS Core REQUIRED) +find_package(Qt6 COMPONENTS Core Network CONFIG REQUIRED) add_executable(${TARGET}) include(rpath_bin) @@ -15,7 +15,7 @@ target_sources(${TARGET} CConsoleDaggy.cpp ) -target_link_libraries(${TARGET} PRIVATE DaggyCore) +target_link_libraries(${TARGET} PRIVATE DaggyCore Qt6::Core Qt6::Network) if (PCAPNG_SUPPORT) add_compile_definitions(PCAPNG_SUPPORT) From d3dbd462c2f507f6a0b85e9c888b3c7cd6d8b5e6 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Thu, 16 Oct 2025 08:18:59 +0200 Subject: [PATCH 2/3] DaggyCore always requires Qt Network Signed-off-by: Uilian Ries --- src/DaggyCore/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/DaggyCore/CMakeLists.txt b/src/DaggyCore/CMakeLists.txt index 9f3474d6..82239493 100644 --- a/src/DaggyCore/CMakeLists.txt +++ b/src/DaggyCore/CMakeLists.txt @@ -48,7 +48,7 @@ target_sources(${TARGET} aggregators/CConsole.hpp ) -target_link_libraries(${TARGET} PUBLIC Qt6::Core) +target_link_libraries(${TARGET} PUBLIC Qt6::Core Qt6::Network CONFIG REQUIRED) if (SSH2_SUPPORT) if(CONAN_BUILD) @@ -57,7 +57,6 @@ if (SSH2_SUPPORT) else() target_link_libraries(${TARGET} PUBLIC ssh2 crypto) endif() - target_link_libraries(${TARGET} PUBLIC Qt6::Network) target_sources(${TARGET} PRIVATE From af68eac5aef81a609fd04a2cca67aaf9b373f124 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Thu, 16 Oct 2025 17:19:32 +0200 Subject: [PATCH 3/3] Removed wrong keywords when liking --- src/DaggyCore/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DaggyCore/CMakeLists.txt b/src/DaggyCore/CMakeLists.txt index 82239493..72eb3d2b 100644 --- a/src/DaggyCore/CMakeLists.txt +++ b/src/DaggyCore/CMakeLists.txt @@ -48,7 +48,7 @@ target_sources(${TARGET} aggregators/CConsole.hpp ) -target_link_libraries(${TARGET} PUBLIC Qt6::Core Qt6::Network CONFIG REQUIRED) +target_link_libraries(${TARGET} PUBLIC Qt6::Core Qt6::Network) if (SSH2_SUPPORT) if(CONAN_BUILD)