summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/assistant/simpletextviewer/simpletextviewer.pro5
-rw-r--r--examples/help/contextsensitivehelp/contextsensitivehelp.pro5
2 files changed, 8 insertions, 2 deletions
diff --git a/examples/assistant/simpletextviewer/simpletextviewer.pro b/examples/assistant/simpletextviewer/simpletextviewer.pro
index 996cf23e1..314e75b36 100644
--- a/examples/assistant/simpletextviewer/simpletextviewer.pro
+++ b/examples/assistant/simpletextviewer/simpletextviewer.pro
@@ -11,4 +11,7 @@ SOURCES = main.cpp \
QT += widgets
target.path = $$[QT_INSTALL_EXAMPLES]/assistant/simpletextviewer
-INSTALLS += target
+docs.files += $$PWD/documentation
+docs.path = $$target.path
+
+INSTALLS += target docs
diff --git a/examples/help/contextsensitivehelp/contextsensitivehelp.pro b/examples/help/contextsensitivehelp/contextsensitivehelp.pro
index 516a2e45c..7f13544e3 100644
--- a/examples/help/contextsensitivehelp/contextsensitivehelp.pro
+++ b/examples/help/contextsensitivehelp/contextsensitivehelp.pro
@@ -11,4 +11,7 @@ HEADERS += wateringconfigdialog.h \
FORMS += wateringconfigdialog.ui
target.path = $$[QT_INSTALL_EXAMPLES]/help/contextsensitivehelp
-INSTALLS += target
+docs.files += $$PWD/doc
+docs.path = $$target.path
+
+INSTALLS += target docs