summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2020-08-19 14:55:34 +0200
committerAndy Shaw <andy.shaw@qt.io>2020-08-20 09:01:28 +0200
commite1971c60f1b878467a5f3956a0eebd96a69832ae (patch)
tree6faa476984c47b7d3b9e08053c266d8f3e4ce420 /src
parentbddafeb2e1f3bf45b85c28ffd175905a2dc62121 (diff)
Doc: Mention no_testcase_installs which can be used to prevent install
Change-Id: If8044a339cab754d427fd7626dd6813c7cc99e56 Pick-to: 5.15 5.12 Fixes: QTBUG-85827 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/testlib/doc/snippets/code/doc_src_qtestlib.pro4
-rw-r--r--src/testlib/doc/src/qttestlib-manual.qdoc5
2 files changed, 9 insertions, 0 deletions
diff --git a/src/testlib/doc/snippets/code/doc_src_qtestlib.pro b/src/testlib/doc/snippets/code/doc_src_qtestlib.pro
index c514d26075..c4aeb5e99c 100644
--- a/src/testlib/doc/snippets/code/doc_src_qtestlib.pro
+++ b/src/testlib/doc/snippets/code/doc_src_qtestlib.pro
@@ -5,3 +5,7 @@ QT += testlib
#! [2]
CONFIG += testcase
#! [2]
+
+#! [3]
+CONFIG += no_testcase_installs
+#! [3]
diff --git a/src/testlib/doc/src/qttestlib-manual.qdoc b/src/testlib/doc/src/qttestlib-manual.qdoc
index 5b8ef361ca..8ff82ba28f 100644
--- a/src/testlib/doc/src/qttestlib-manual.qdoc
+++ b/src/testlib/doc/src/qttestlib-manual.qdoc
@@ -182,6 +182,11 @@
\snippet code/doc_src_qtestlib.pro 2
+ To prevent the test from being installed to your target, add the
+ additional line:
+
+ \snippet code/doc_src_qtestlib.pro 3
+
See the \l{Building a Testcase}{qmake manual} for
more information about \c{make check}.