From 4f699e82074b1928e0e9477759c9d5666cea662c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Wed, 15 Dec 2021 16:31:49 +0100 Subject: [PATCH] analogclock example: Clean up link_libraries analogclock doesn't use widgets. Pick-to: 6.3 Change-Id: I75b5efc0bec786b45f8273e3d21c9be204e18225 Reviewed-by: Alexandru Croitor --- examples/gui/analogclock/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 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 @@ -29,10 +29,6 @@ target_include_directories(gui_analogclock PUBLIC ../rasterwindow ) -target_link_libraries(gui_analogclock PUBLIC - Qt::Gui -) - target_link_libraries(gui_analogclock PUBLIC Qt::Core Qt::Gui