summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/gui/analogclock/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/gui/analogclock/CMakeLists.txt b/examples/gui/analogclock/CMakeLists.txt
index 57b73f48203..837971b99ea 100644
--- a/examples/gui/analogclock/CMakeLists.txt
+++ b/examples/gui/analogclock/CMakeLists.txt
@@ -13,7 +13,7 @@ endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/gui/gui_analogclock")
-find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui)
qt_add_executable(gui_analogclock
../rasterwindow/rasterwindow.cpp ../rasterwindow/rasterwindow.h
@@ -30,10 +30,6 @@ target_include_directories(gui_analogclock PUBLIC
)
target_link_libraries(gui_analogclock PUBLIC
- Qt::Gui
-)
-
-target_link_libraries(gui_analogclock PUBLIC
Qt::Core
Qt::Gui
)