path: root/src/testlib/doc/src/qttest.qdoc
diff options
authorVenugopal Shivashankar <>2018-06-28 14:55:06 +0200
committerVenugopal Shivashankar <>2018-08-30 09:23:42 +0000
commit059b10f295d8d04c4144984daf1464115bcb69c9 (patch)
treeca69a0ba1d9c14082323e8985b29a65ed463a225 /src/testlib/doc/src/qttest.qdoc
parentbd42e2f0cebb2fe8de77a054e9d30aa803749a61 (diff)
Doc: Check before including the \snippet from a .pro file
Change-Id: Icc7552b46a2657c81958e40f33596ddeee045172 Reviewed-by: Friedemann Kleint <> Reviewed-by: Topi Reiniƶ <>
Diffstat (limited to 'src/testlib/doc/src/qttest.qdoc')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testlib/doc/src/qttest.qdoc b/src/testlib/doc/src/qttest.qdoc
index 696111f2f3..e61fd71e69 100644
--- a/src/testlib/doc/src/qttest.qdoc
+++ b/src/testlib/doc/src/qttest.qdoc
@@ -42,10 +42,12 @@
\snippet code/doc_src_qttest.cpp 0
+ \if !defined(qtforpython)
To link against the module, add this line to your \l qmake \c
.pro file:
\snippet code/ 1
+ \endif
See \l{Qt Test Overview} for an introduction on how to use
Qt's unit testing features with your applications.