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>
This commit is contained in:
Andy Shaw 2020-08-19 14:55:34 +02:00
parent bddafeb2e1
commit e1971c60f1
2 changed files with 9 additions and 0 deletions

View File

@ -5,3 +5,7 @@ QT += testlib
#! [2]
CONFIG += testcase
#! [2]
#! [3]
CONFIG += no_testcase_installs
#! [3]

View File

@ -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}.