diff options
Diffstat (limited to 'examples/widgets/widgets/shapedclock')
-rw-r--r-- | examples/widgets/widgets/shapedclock/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/widgets/widgets/shapedclock/CMakeLists.txt b/examples/widgets/widgets/shapedclock/CMakeLists.txt index 3bc86df1d9..211c0cc432 100644 --- a/examples/widgets/widgets/shapedclock/CMakeLists.txt +++ b/examples/widgets/widgets/shapedclock/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/widgets/widgets/shapedclock") +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) add_qt_gui_executable(shapedclock @@ -18,6 +20,8 @@ add_qt_gui_executable(shapedclock shapedclock.cpp shapedclock.h ) target_link_libraries(shapedclock PUBLIC + Qt::Core + Qt::Gui Qt::Widgets ) |