summaryrefslogtreecommitdiff
path: root/examples/network/loopback
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/loopback')
-rw-r--r--examples/network/loopback/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/network/loopback/CMakeLists.txt b/examples/network/loopback/CMakeLists.txt
index da0e80a033..424ea1c0d4 100644
--- a/examples/network/loopback/CMakeLists.txt
+++ b/examples/network/loopback/CMakeLists.txt
@@ -15,10 +15,7 @@ endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/network/loopback")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Network)
-find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui Network Widgets)
qt_add_executable(loopback
dialog.cpp dialog.h