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>bb10
parent
bddafeb2e1
commit
e1971c60f1
|
|
@ -5,3 +5,7 @@ QT += testlib
|
|||
#! [2]
|
||||
CONFIG += testcase
|
||||
#! [2]
|
||||
|
||||
#! [3]
|
||||
CONFIG += no_testcase_installs
|
||||
#! [3]
|
||||
|
|
|
|||
|
|
@ -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}.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue