summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt')
-rw-r--r--examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt b/examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt
index 514b893..056dbf6 100644
--- a/examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt
+++ b/examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt
@@ -17,9 +17,10 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/padnavigator
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS StateMachine)
find_package(Qt6 COMPONENTS Widgets)
-add_executable(padnavigator
+qt_add_executable(padnavigator
flippablepad.cpp flippablepad.h
form.ui
main.cpp
@@ -27,11 +28,15 @@ add_executable(padnavigator
roundrectitem.cpp roundrectitem.h
splashitem.cpp splashitem.h
)
+set_target_properties(padnavigator PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(padnavigator PUBLIC
Qt::Core
Qt::Gui
+ Qt::StateMachine
Qt::Widgets
- statemachine
)