aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/particles
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-10-11 15:47:00 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2019-10-14 09:09:55 +0000
commit9e633bbda7608ac0231809e2a6a97ae8f2d849d6 (patch)
tree1139c346c7ee144a74443734a78d7662935b5355 /examples/quick/particles
parent31df3b6ced92197636e0b1f450631971bbf17cd2 (diff)
Regenerate Examples
Change-Id: I2fbfb44bbb6d667e022bffb480feaf74ff0d0a5e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/quick/particles')
-rw-r--r--examples/quick/particles/affectors/CMakeLists.txt4
-rw-r--r--examples/quick/particles/customparticle/CMakeLists.txt4
-rw-r--r--examples/quick/particles/emitters/CMakeLists.txt4
-rw-r--r--examples/quick/particles/imageparticle/CMakeLists.txt4
-rw-r--r--examples/quick/particles/itemparticle/CMakeLists.txt24
-rw-r--r--examples/quick/particles/system/CMakeLists.txt4
6 files changed, 22 insertions, 22 deletions
diff --git a/examples/quick/particles/affectors/CMakeLists.txt b/examples/quick/particles/affectors/CMakeLists.txt
index 85a4cebdd5..9675a61051 100644
--- a/examples/quick/particles/affectors/CMakeLists.txt
+++ b/examples/quick/particles/affectors/CMakeLists.txt
@@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-set(INSTALL_EXAMPLEDIR "examples")
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/affectors")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
@@ -26,6 +26,7 @@ target_link_libraries(affectors PUBLIC
Qt::Quick
)
+
# Resources:
set(affectors_resource_files
"affectors.qml"
@@ -255,7 +256,6 @@ qt6_add_resources(affectors "shared"
${shared_resource_files}
)
-
install(TARGETS affectors
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
diff --git a/examples/quick/particles/customparticle/CMakeLists.txt b/examples/quick/particles/customparticle/CMakeLists.txt
index 533b8e1547..d19a5a49b8 100644
--- a/examples/quick/particles/customparticle/CMakeLists.txt
+++ b/examples/quick/particles/customparticle/CMakeLists.txt
@@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-set(INSTALL_EXAMPLEDIR "examples")
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/customparticle")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
@@ -26,6 +26,7 @@ target_link_libraries(customparticle PUBLIC
Qt::Quick
)
+
# Resources:
set(customparticle_resource_files
"content/blurparticles.qml"
@@ -247,7 +248,6 @@ qt6_add_resources(customparticle "shared"
${shared_resource_files}
)
-
install(TARGETS customparticle
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
diff --git a/examples/quick/particles/emitters/CMakeLists.txt b/examples/quick/particles/emitters/CMakeLists.txt
index 6102476837..94e7e5ef18 100644
--- a/examples/quick/particles/emitters/CMakeLists.txt
+++ b/examples/quick/particles/emitters/CMakeLists.txt
@@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-set(INSTALL_EXAMPLEDIR "examples")
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/emitters")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
@@ -26,6 +26,7 @@ target_link_libraries(emitters PUBLIC
Qt::Quick
)
+
# Resources:
set(emitters_resource_files
"content/burstandpulse.qml"
@@ -251,7 +252,6 @@ qt6_add_resources(emitters "shared"
${shared_resource_files}
)
-
install(TARGETS emitters
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
diff --git a/examples/quick/particles/imageparticle/CMakeLists.txt b/examples/quick/particles/imageparticle/CMakeLists.txt
index 51eea97879..05b307f83d 100644
--- a/examples/quick/particles/imageparticle/CMakeLists.txt
+++ b/examples/quick/particles/imageparticle/CMakeLists.txt
@@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-set(INSTALL_EXAMPLEDIR "examples")
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/imageparticle")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
@@ -26,6 +26,7 @@ target_link_libraries(imageparticle PUBLIC
Qt::Quick
)
+
# Resources:
set(imageparticle_resource_files
"content/allatonce.qml"
@@ -251,7 +252,6 @@ qt6_add_resources(imageparticle "shared"
${shared_resource_files}
)
-
install(TARGETS imageparticle
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
diff --git a/examples/quick/particles/itemparticle/CMakeLists.txt b/examples/quick/particles/itemparticle/CMakeLists.txt
index c0bb8b7ccc..9e09849c30 100644
--- a/examples/quick/particles/itemparticle/CMakeLists.txt
+++ b/examples/quick/particles/itemparticle/CMakeLists.txt
@@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-set(INSTALL_EXAMPLEDIR "examples")
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/itemparticle")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
@@ -26,6 +26,17 @@ target_link_libraries(itemparticle PUBLIC
Qt::Quick
)
+
+file(GLOB resource_glob_0 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "content/*")
+foreach(file IN LISTS resource_glob_0)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+file(GLOB resource_glob_1 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*qml")
+foreach(file IN LISTS resource_glob_1)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
# Resources:
set_source_files_properties("../images/_explo.png"
PROPERTIES QT_RESOURCE_ALIAS "images/_explo.png"
@@ -233,16 +244,6 @@ qt6_add_resources(itemparticle "shared"
FILES
${shared_resource_files}
)
-
-file(GLOB resource_glob_0 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "content/*")
-foreach(file IN LISTS resource_glob_0)
- set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
-endforeach()
-
-file(GLOB resource_glob_1 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*qml")
-foreach(file IN LISTS resource_glob_1)
- set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
-endforeach()
set(qmake_immediate_resource_files
${resource_glob_0}
${resource_glob_1}
@@ -255,7 +256,6 @@ qt6_add_resources(itemparticle "qmake_immediate"
${qmake_immediate_resource_files}
)
-
install(TARGETS itemparticle
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
diff --git a/examples/quick/particles/system/CMakeLists.txt b/examples/quick/particles/system/CMakeLists.txt
index ec94674d58..09513b46f7 100644
--- a/examples/quick/particles/system/CMakeLists.txt
+++ b/examples/quick/particles/system/CMakeLists.txt
@@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-set(INSTALL_EXAMPLEDIR "examples")
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/system")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
@@ -26,6 +26,7 @@ target_link_libraries(system PUBLIC
Qt::Quick
)
+
# Resources:
set(system_resource_files
"content/dynamiccomparison.qml"
@@ -249,7 +250,6 @@ qt6_add_resources(system "shared"
${shared_resource_files}
)
-
install(TARGETS system
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"