aboutsummaryrefslogtreecommitdiffstats
path: root/examples/particles
diff options
context:
space:
mode:
Diffstat (limited to 'examples/particles')
-rw-r--r--examples/particles/affectors/affectors.pro5
-rw-r--r--examples/particles/customparticle/customparticle.pro5
-rw-r--r--examples/particles/emitters/emitters.pro5
-rw-r--r--examples/particles/imageparticle/imageparticle.pro5
-rw-r--r--examples/particles/particles.pro4
-rw-r--r--examples/particles/system/system.pro5
6 files changed, 18 insertions, 11 deletions
diff --git a/examples/particles/affectors/affectors.pro b/examples/particles/affectors/affectors.pro
index 9f91ae110b..231be91f01 100644
--- a/examples/particles/affectors/affectors.pro
+++ b/examples/particles/affectors/affectors.pro
@@ -6,5 +6,6 @@ SOURCES += main.cpp
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/affectors
qml.files = affectors.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/affectors
-INSTALLS += target qml
-
+sources.files = $$SOURCES affectors.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
diff --git a/examples/particles/customparticle/customparticle.pro b/examples/particles/customparticle/customparticle.pro
index 1f087d4d57..80043799b0 100644
--- a/examples/particles/customparticle/customparticle.pro
+++ b/examples/particles/customparticle/customparticle.pro
@@ -6,5 +6,6 @@ SOURCES += main.cpp
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/customparticle
qml.files = customparticle.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/customparticle
-INSTALLS += target qml
-
+sources.files = $$SOURCES customparticle.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
diff --git a/examples/particles/emitters/emitters.pro b/examples/particles/emitters/emitters.pro
index 890726ebcc..aae8e83c71 100644
--- a/examples/particles/emitters/emitters.pro
+++ b/examples/particles/emitters/emitters.pro
@@ -6,5 +6,6 @@ SOURCES += main.cpp
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/emitters
qml.files = emitters.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/emitters
-INSTALLS += target qml
-
+sources.files = $$SOURCES emitters.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
diff --git a/examples/particles/imageparticle/imageparticle.pro b/examples/particles/imageparticle/imageparticle.pro
index 2898bec628..17d4816138 100644
--- a/examples/particles/imageparticle/imageparticle.pro
+++ b/examples/particles/imageparticle/imageparticle.pro
@@ -6,5 +6,6 @@ SOURCES += main.cpp
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/imageparticle
qml.files = imageparticle.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/imageparticle
-INSTALLS += target qml
-
+sources.files = $$SOURCES imageparticle.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
diff --git a/examples/particles/particles.pro b/examples/particles/particles.pro
index a4edaa9ccb..5592f70ee3 100644
--- a/examples/particles/particles.pro
+++ b/examples/particles/particles.pro
@@ -8,4 +8,6 @@ SUBDIRS += affectors \
#Install shared images too
qml.files = images
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles
-INSTALLS = qml
+sources.files = particles.pro
+sources.path = $$qml.path
+INSTALLS = sources qml
diff --git a/examples/particles/system/system.pro b/examples/particles/system/system.pro
index 9623bb5acb..7cc3165483 100644
--- a/examples/particles/system/system.pro
+++ b/examples/particles/system/system.pro
@@ -6,5 +6,6 @@ SOURCES += main.cpp
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/system
qml.files = system.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/system
-INSTALLS += target qml
-
+sources.files = $$SOURCES system.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml