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:
parent
7ba34cbcb0
commit
c0eb13e0fb
@ -5,3 +5,7 @@ QT += testlib
|
|||||||
#! [2]
|
#! [2]
|
||||||
CONFIG += testcase
|
CONFIG += testcase
|
||||||
#! [2]
|
#! [2]
|
||||||
|
|
||||||
|
#! [3]
|
||||||
|
CONFIG += no_testcase_installs
|
||||||
|
#! [3]
|
||||||
|
@ -122,6 +122,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