summaryrefslogtreecommitdiffstats
path: root/examples/widgets/animation
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/animation')
-rw-r--r--examples/widgets/animation/animatedtiles/CMakeLists.txt2
-rw-r--r--examples/widgets/animation/easing/CMakeLists.txt2
-rw-r--r--examples/widgets/animation/moveblocks/CMakeLists.txt2
-rw-r--r--examples/widgets/animation/states/CMakeLists.txt2
-rw-r--r--examples/widgets/animation/stickman/CMakeLists.txt2
-rw-r--r--examples/widgets/animation/sub-attaq/CMakeLists.txt2
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/widgets/animation/animatedtiles/CMakeLists.txt b/examples/widgets/animation/animatedtiles/CMakeLists.txt
index dacde5535c..e3fa88aebb 100644
--- a/examples/widgets/animation/animatedtiles/CMakeLists.txt
+++ b/examples/widgets/animation/animatedtiles/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_executable(animatedtiles WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(animatedtiles WIN32 MACOSX_BUNDLE
animatedtiles.qrc
main.cpp
)
diff --git a/examples/widgets/animation/easing/CMakeLists.txt b/examples/widgets/animation/easing/CMakeLists.txt
index 1500b11f3b..441b27b0c4 100644
--- a/examples/widgets/animation/easing/CMakeLists.txt
+++ b/examples/widgets/animation/easing/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_executable(easing WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(easing WIN32 MACOSX_BUNDLE
animation.h
easing.qrc
form.ui
diff --git a/examples/widgets/animation/moveblocks/CMakeLists.txt b/examples/widgets/animation/moveblocks/CMakeLists.txt
index cc2b70af44..971bf2e7e5 100644
--- a/examples/widgets/animation/moveblocks/CMakeLists.txt
+++ b/examples/widgets/animation/moveblocks/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_executable(moveblocks WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(moveblocks WIN32 MACOSX_BUNDLE
main.cpp
)
target_link_libraries(moveblocks PUBLIC
diff --git a/examples/widgets/animation/states/CMakeLists.txt b/examples/widgets/animation/states/CMakeLists.txt
index a28995db99..bd353422d2 100644
--- a/examples/widgets/animation/states/CMakeLists.txt
+++ b/examples/widgets/animation/states/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_executable(states WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(states WIN32 MACOSX_BUNDLE
main.cpp
states.qrc
)
diff --git a/examples/widgets/animation/stickman/CMakeLists.txt b/examples/widgets/animation/stickman/CMakeLists.txt
index 5cb2e86c48..90bc09e5d7 100644
--- a/examples/widgets/animation/stickman/CMakeLists.txt
+++ b/examples/widgets/animation/stickman/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_executable(stickman WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(stickman WIN32 MACOSX_BUNDLE
animation.cpp animation.h
graphicsview.cpp graphicsview.h
lifecycle.cpp lifecycle.h
diff --git a/examples/widgets/animation/sub-attaq/CMakeLists.txt b/examples/widgets/animation/sub-attaq/CMakeLists.txt
index 3260a5f75d..883c1cd0c5 100644
--- a/examples/widgets/animation/sub-attaq/CMakeLists.txt
+++ b/examples/widgets/animation/sub-attaq/CMakeLists.txt
@@ -14,7 +14,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
find_package(Qt5 COMPONENTS OpenGL) # special case
-add_executable(sub-attaq WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(sub-attaq WIN32 MACOSX_BUNDLE
animationmanager.cpp animationmanager.h
boat.cpp boat.h boat_p.h
bomb.cpp bomb.h