Doc: Mention no_testcase_installs which can be used to prevent install

Change-Id: If8044a339cab754d427fd7626dd6813c7cc99e56
Fixes: QTBUG-85827
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit e1971c60f1b878467a5f3956a0eebd96a69832ae)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Andy Shaw 2020-08-19 14:55:34 +02:00 committed by Qt Cherry-pick Bot
parent 7ba34cbcb0
commit c0eb13e0fb
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

@ -122,6 +122,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}.