summaryrefslogtreecommitdiffstats
path: root/examples/statemachine
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-03-21 18:51:05 +0100
committerKai Köhne <kai.koehne@qt.io>2022-03-22 15:32:35 +0100
commitbf4cac33acfb60ff477bb465ba7da2b5faacdedd (patch)
tree1d81e0ee532d343b806a8ea6da0934e20cbd2b4d /examples/statemachine
parenta28e0b56de4adc1a758fb918eeef32bcfd098c19 (diff)
Remove .prev_CMakeLists.txt
Pick-to: 6.3 Change-Id: I6caae255fb558e5d27e45bed1a740e4c6595e5ac Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/statemachine')
-rw-r--r--examples/statemachine/.prev_CMakeLists.txt10
-rw-r--r--examples/statemachine/animation/sub-attaq/.prev_CMakeLists.txt202
-rw-r--r--examples/statemachine/graphicsview/padnavigator/.prev_CMakeLists.txt74
3 files changed, 0 insertions, 286 deletions
diff --git a/examples/statemachine/.prev_CMakeLists.txt b/examples/statemachine/.prev_CMakeLists.txt
deleted file mode 100644
index 26d094d..0000000
--- a/examples/statemachine/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-# Generated from widgets.pro.
-
-if(NOT TARGET Qt::Widgets)
- return()
-endif()
-if(QT_FEATURE_animation)
- add_subdirectory(animation)
-endif()
-add_subdirectory(graphicsview)
-add_subdirectory(statemachine)
diff --git a/examples/statemachine/animation/sub-attaq/.prev_CMakeLists.txt b/examples/statemachine/animation/sub-attaq/.prev_CMakeLists.txt
deleted file mode 100644
index 1e6dc8a..0000000
--- a/examples/statemachine/animation/sub-attaq/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-# Generated from sub-attaq.pro.
-
-cmake_minimum_required(VERSION 3.14)
-project(sub-attaq LANGUAGES CXX)
-
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
-
-if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
-endif()
-
-set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/animation/sub-attaq")
-
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS StateMachine)
-find_package(Qt6 COMPONENTS Widgets)
-
-qt_add_executable(sub-attaq
- animationmanager.cpp animationmanager.h
- boat.cpp boat.h boat_p.h
- bomb.cpp bomb.h
- graphicsscene.cpp graphicsscene.h
- main.cpp
- mainwindow.cpp mainwindow.h
- pixmapitem.cpp pixmapitem.h
- progressitem.cpp progressitem.h
- qanimationstate.cpp qanimationstate.h
- states.cpp states.h
- submarine.cpp submarine.h submarine_p.h
- textinformationitem.cpp textinformationitem.h
- torpedo.cpp torpedo.h
-)
-set_target_properties(sub-attaq PROPERTIES
- WIN32_EXECUTABLE TRUE
- MACOSX_BUNDLE TRUE
-)
-target_link_libraries(sub-attaq PUBLIC
- Qt::Core
- Qt::Gui
- Qt::StateMachine
- Qt::Widgets
-)
-
-
-# Resources:
-set_source_files_properties("pics/big/background.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/background"
-)
-set_source_files_properties("pics/big/boat.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/boat"
-)
-set_source_files_properties("pics/big/bomb.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/bomb"
-)
-set_source_files_properties("pics/big/explosion/boat/step1.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/explosion/boat/step1"
-)
-set_source_files_properties("pics/big/explosion/boat/step2.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/explosion/boat/step2"
-)
-set_source_files_properties("pics/big/explosion/boat/step3.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/explosion/boat/step3"
-)
-set_source_files_properties("pics/big/explosion/boat/step4.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/explosion/boat/step4"
-)
-set_source_files_properties("pics/big/explosion/submarine/step1.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/explosion/submarine/step1"
-)
-set_source_files_properties("pics/big/explosion/submarine/step2.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/explosion/submarine/step2"
-)
-set_source_files_properties("pics/big/explosion/submarine/step3.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/explosion/submarine/step3"
-)
-set_source_files_properties("pics/big/explosion/submarine/step4.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/explosion/submarine/step4"
-)
-set_source_files_properties("pics/big/submarine.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/submarine"
-)
-set_source_files_properties("pics/big/surface.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/surface"
-)
-set_source_files_properties("pics/big/torpedo.png"
- PROPERTIES QT_RESOURCE_ALIAS "big/torpedo"
-)
-set_source_files_properties("pics/scalable/boat.svg"
- PROPERTIES QT_RESOURCE_ALIAS "boat"
-)
-set_source_files_properties("pics/scalable/sub-attaq.svg"
- PROPERTIES QT_RESOURCE_ALIAS "all"
-)
-set_source_files_properties("pics/scalable/submarine.svg"
- PROPERTIES QT_RESOURCE_ALIAS "submarine"
-)
-set_source_files_properties("pics/scalable/torpedo.svg"
- PROPERTIES QT_RESOURCE_ALIAS "torpedo"
-)
-set_source_files_properties("pics/small/background.png"
- PROPERTIES QT_RESOURCE_ALIAS "small/background"
-)
-set_source_files_properties("pics/small/boat.png"
- PROPERTIES QT_RESOURCE_ALIAS "small/boat"
-)
-set_source_files_properties("pics/small/bomb.png"
- PROPERTIES QT_RESOURCE_ALIAS "small/bomb"
-)
-set_source_files_properties("pics/small/submarine.png"
- PROPERTIES QT_RESOURCE_ALIAS "small/submarine"
-)
-set_source_files_properties("pics/small/surface.png"
- PROPERTIES QT_RESOURCE_ALIAS "small/surface"
-)
-set_source_files_properties("pics/small/torpedo.png"
- PROPERTIES QT_RESOURCE_ALIAS "small/torpedo"
-)
-set_source_files_properties("pics/welcome/logo-a.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-a"
-)
-set_source_files_properties("pics/welcome/logo-a2.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-a2"
-)
-set_source_files_properties("pics/welcome/logo-b.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-b"
-)
-set_source_files_properties("pics/welcome/logo-dash.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-dash"
-)
-set_source_files_properties("pics/welcome/logo-excl.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-excl"
-)
-set_source_files_properties("pics/welcome/logo-q.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-q"
-)
-set_source_files_properties("pics/welcome/logo-s.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-s"
-)
-set_source_files_properties("pics/welcome/logo-t.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-t"
-)
-set_source_files_properties("pics/welcome/logo-t2.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-t2"
-)
-set_source_files_properties("pics/welcome/logo-u.png"
- PROPERTIES QT_RESOURCE_ALIAS "logo-u"
-)
-set(subattaq_resource_files
- "data.xml"
- "pics/big/background.png"
- "pics/big/boat.png"
- "pics/big/bomb.png"
- "pics/big/explosion/boat/step1.png"
- "pics/big/explosion/boat/step2.png"
- "pics/big/explosion/boat/step3.png"
- "pics/big/explosion/boat/step4.png"
- "pics/big/explosion/submarine/step1.png"
- "pics/big/explosion/submarine/step2.png"
- "pics/big/explosion/submarine/step3.png"
- "pics/big/explosion/submarine/step4.png"
- "pics/big/submarine.png"
- "pics/big/surface.png"
- "pics/big/torpedo.png"
- "pics/scalable/boat.svg"
- "pics/scalable/sub-attaq.svg"
- "pics/scalable/submarine.svg"
- "pics/scalable/torpedo.svg"
- "pics/small/background.png"
- "pics/small/boat.png"
- "pics/small/bomb.png"
- "pics/small/submarine.png"
- "pics/small/surface.png"
- "pics/small/torpedo.png"
- "pics/welcome/logo-a.png"
- "pics/welcome/logo-a2.png"
- "pics/welcome/logo-b.png"
- "pics/welcome/logo-dash.png"
- "pics/welcome/logo-excl.png"
- "pics/welcome/logo-q.png"
- "pics/welcome/logo-s.png"
- "pics/welcome/logo-t.png"
- "pics/welcome/logo-t2.png"
- "pics/welcome/logo-u.png"
-)
-
-qt6_add_resources(sub-attaq "subattaq"
- PREFIX
- "/"
- FILES
- ${subattaq_resource_files}
-)
-
-install(TARGETS sub-attaq
- RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
-)
diff --git a/examples/statemachine/graphicsview/padnavigator/.prev_CMakeLists.txt b/examples/statemachine/graphicsview/padnavigator/.prev_CMakeLists.txt
deleted file mode 100644
index 056dbf6..0000000
--- a/examples/statemachine/graphicsview/padnavigator/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,74 +0,0 @@
-# Generated from padnavigator.pro.
-
-cmake_minimum_required(VERSION 3.14)
-project(padnavigator LANGUAGES CXX)
-
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
-
-if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
-endif()
-
-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)
-
-qt_add_executable(padnavigator
- flippablepad.cpp flippablepad.h
- form.ui
- main.cpp
- padnavigator.cpp padnavigator.h
- 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
-)
-
-
-# Resources:
-set(padnavigator_resource_files
- "images/artsfftscope.png"
- "images/blue_angle_swirl.jpg"
- "images/kontact_contacts.png"
- "images/kontact_journal.png"
- "images/kontact_mail.png"
- "images/kontact_notes.png"
- "images/kopeteavailable.png"
- "images/metacontact_online.png"
- "images/minitools.png"
-)
-
-qt6_add_resources(padnavigator "padnavigator"
- PREFIX
- "/"
- FILES
- ${padnavigator_resource_files}
-)
-
-if(TARGET Qt::OpenGL)
- target_link_libraries(padnavigator PUBLIC
- Qt::OpenGL
- Qt::OpenGLWidgets
- )
-endif()
-
-install(TARGETS padnavigator
- RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
-)