summaryrefslogtreecommitdiffstats
path: root/examples/network/googlesuggest
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/googlesuggest')
-rw-r--r--examples/network/googlesuggest/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/network/googlesuggest/CMakeLists.txt b/examples/network/googlesuggest/CMakeLists.txt
index 5a6a52ce33..247980601f 100644
--- a/examples/network/googlesuggest/CMakeLists.txt
+++ b/examples/network/googlesuggest/CMakeLists.txt
@@ -9,8 +9,10 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-set(INSTALL_EXAMPLEDIR "examples")
+set(INSTALL_EXAMPLEDIR "examples/network/googlesuggest")
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Network)
find_package(Qt6 COMPONENTS Widgets)
@@ -20,6 +22,8 @@ add_qt_gui_executable(googlesuggest
searchbox.cpp searchbox.h
)
target_link_libraries(googlesuggest PUBLIC
+ Qt::Core
+ Qt::Gui
Qt::Network
Qt::Widgets
)