aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tutorials
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials')
-rw-r--r--examples/tutorials/gettingStartedQml/filedialog/filedialog.pro5
-rw-r--r--examples/tutorials/gettingStartedQml/gettingStartedQml.pro4
-rw-r--r--examples/tutorials/tutorials.pro5
3 files changed, 14 insertions, 0 deletions
diff --git a/examples/tutorials/gettingStartedQml/filedialog/filedialog.pro b/examples/tutorials/gettingStartedQml/filedialog/filedialog.pro
index 85edb40257..36ae0fc7f4 100644
--- a/examples/tutorials/gettingStartedQml/filedialog/filedialog.pro
+++ b/examples/tutorials/gettingStartedQml/filedialog/filedialog.pro
@@ -15,3 +15,8 @@ HEADERS += directory.h \
SOURCES += directory.cpp \
file.cpp \
dialogPlugin.cpp
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/tutorials/gettingStartedQml/filedialog
+sources.files = $$SOURCES $$HEADERS filedialog.pro
+sources.path = $$target.path
+INSTALLS = sources target
diff --git a/examples/tutorials/gettingStartedQml/gettingStartedQml.pro b/examples/tutorials/gettingStartedQml/gettingStartedQml.pro
index aa5306cceb..10ce079896 100644
--- a/examples/tutorials/gettingStartedQml/gettingStartedQml.pro
+++ b/examples/tutorials/gettingStartedQml/gettingStartedQml.pro
@@ -2,3 +2,7 @@ TEMPLATE = subdirs
SUBDIRS = \
filedialog\
+# install
+sources.files = gettingStartedQml.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/tutorials/gettingStartedQml
+INSTALLS += sources
diff --git a/examples/tutorials/tutorials.pro b/examples/tutorials/tutorials.pro
index 0893449746..9cb5c57c3f 100644
--- a/examples/tutorials/tutorials.pro
+++ b/examples/tutorials/tutorials.pro
@@ -1,2 +1,7 @@
TEMPLATE = subdirs
SUBDIRS += gettingStartedQml
+
+# install
+sources.files = tutorials.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/tutorials
+INSTALLS += sources