diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-12-15 16:31:49 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-17 14:32:44 +0000 |
commit | 7e2c8c855ec2b47c4bfc2193bf005deb39f6083b (patch) | |
tree | f864361abb1d466ee4b2b5115601897446822e51 /examples | |
parent | b59257cc82dfefb82ee2c884e0572a7d3dbdcbcd (diff) |
analogclock example: Clean up link_libraries
analogclock doesn't use widgets.
Change-Id: I75b5efc0bec786b45f8273e3d21c9be204e18225
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 4f699e82074b1928e0e9477759c9d5666cea662c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gui/analogclock/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/gui/analogclock/CMakeLists.txt b/examples/gui/analogclock/CMakeLists.txt index 57b73f4820..837971b99e 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 ) |