diff options
Diffstat (limited to 'examples/demos')
-rw-r--r-- | examples/demos/calqlatr/calqlatr.pro | 4 | ||||
-rw-r--r-- | examples/demos/demos.pro | 5 | ||||
-rw-r--r-- | examples/demos/maroon/maroon.pro | 4 | ||||
-rw-r--r-- | examples/demos/samegame/samegame.pro | 4 | ||||
-rw-r--r-- | examples/demos/stocqt/stocqt.pro | 4 | ||||
-rw-r--r-- | examples/demos/tweetsearch/tweetsearch.pro | 4 |
6 files changed, 20 insertions, 5 deletions
diff --git a/examples/demos/calqlatr/calqlatr.pro b/examples/demos/calqlatr/calqlatr.pro index 024d6efa23..6a147f4ce6 100644 --- a/examples/demos/calqlatr/calqlatr.pro +++ b/examples/demos/calqlatr/calqlatr.pro @@ -6,4 +6,6 @@ SOURCES += main.cpp target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/calqlatr qml.files = calqlatr.qml content qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/calqlatr -INSTALLS += target qml +sources.files = $$SOURCES calqlatr.pro +sources.path = $$qml.path +INSTALLS += target sources qml diff --git a/examples/demos/demos.pro b/examples/demos/demos.pro index 00fb8d8b88..b243396986 100644 --- a/examples/demos/demos.pro +++ b/examples/demos/demos.pro @@ -4,3 +4,8 @@ SUBDIRS = calqlatr \ tweetsearch \ maroon \ stocqt + +# install +sources.files = demos.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos +INSTALLS += sources diff --git a/examples/demos/maroon/maroon.pro b/examples/demos/maroon/maroon.pro index cbe0c8ed0d..fa2e4b5709 100644 --- a/examples/demos/maroon/maroon.pro +++ b/examples/demos/maroon/maroon.pro @@ -6,4 +6,6 @@ SOURCES += main.cpp target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/maroon qml.files = maroon.qml content qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/maroon -INSTALLS += target qml +sources.files = $$SOURCES maroon.pro +sources.path = $$qml.path +INSTALLS += sources target qml diff --git a/examples/demos/samegame/samegame.pro b/examples/demos/samegame/samegame.pro index 80d3d2992b..2f7afef5a5 100644 --- a/examples/demos/samegame/samegame.pro +++ b/examples/demos/samegame/samegame.pro @@ -6,4 +6,6 @@ SOURCES += main.cpp target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/samegame qml.files = samegame.qml content settings.js qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/samegame -INSTALLS += target qml +sources.files = $$SOURCES samegame.pro +sources.path = $$qml.path +INSTALLS += sources target qml diff --git a/examples/demos/stocqt/stocqt.pro b/examples/demos/stocqt/stocqt.pro index aa2f1cfbea..dfa1924946 100644 --- a/examples/demos/stocqt/stocqt.pro +++ b/examples/demos/stocqt/stocqt.pro @@ -6,4 +6,6 @@ SOURCES += main.cpp target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/stocqt qml.files = stocqt.qml content qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/stocqt -INSTALLS += target qml +sources.files = $$SOURCES stocqt.pro +sources.path = $$qml.path +INSTALLS += sources target qml diff --git a/examples/demos/tweetsearch/tweetsearch.pro b/examples/demos/tweetsearch/tweetsearch.pro index 691bd6d293..36f4377de1 100644 --- a/examples/demos/tweetsearch/tweetsearch.pro +++ b/examples/demos/tweetsearch/tweetsearch.pro @@ -6,4 +6,6 @@ SOURCES += main.cpp target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/tweetsearch qml.files = tweetsearch.qml content qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/tweetsearch -INSTALLS += target qml +sources.files = $$SOURCES tweetsearch.pro +sources.path = $$qml.path +INSTALLS += sources target qml |