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:
parent
bddafeb2e1
commit
e1971c60f1
@ -5,3 +5,7 @@ QT += testlib
|
|||||||
#! [2]
|
#! [2]
|
||||||
CONFIG += testcase
|
CONFIG += testcase
|
||||||
#! [2]
|
#! [2]
|
||||||
|
|
||||||
|
#! [3]
|
||||||
|
CONFIG += no_testcase_installs
|
||||||
|
#! [3]
|
||||||
|
@ -182,6 +182,11 @@
|
|||||||
|
|
||||||
\snippet code/doc_src_qtestlib.pro 2
|
\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
|
See the \l{Building a Testcase}{qmake manual} for
|
||||||
more information about \c{make check}.
|
more information about \c{make check}.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user