diff options
Diffstat (limited to 'examples/widgets/layouts/flowlayout/CMakeLists.txt')
-rw-r--r-- | examples/widgets/layouts/flowlayout/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/widgets/layouts/flowlayout/CMakeLists.txt b/examples/widgets/layouts/flowlayout/CMakeLists.txt index fff6fa004b..85104eb3eb 100644 --- a/examples/widgets/layouts/flowlayout/CMakeLists.txt +++ b/examples/widgets/layouts/flowlayout/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/layouts/flowlayout") +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) add_qt_gui_executable(flowlayout @@ -19,6 +21,8 @@ add_qt_gui_executable(flowlayout window.cpp window.h ) target_link_libraries(flowlayout PUBLIC + Qt::Core + Qt::Gui Qt::Widgets ) |