summaryrefslogtreecommitdiffstats
path: root/src/testlib/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/doc/src')
-rw-r--r--src/testlib/doc/src/qttest-index.qdoc2
-rw-r--r--src/testlib/doc/src/qttest.qdoc2
-rw-r--r--src/testlib/doc/src/qttestlib-manual.qdoc2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/testlib/doc/src/qttest-index.qdoc b/src/testlib/doc/src/qttest-index.qdoc
index b3c2be7375..8c817b3653 100644
--- a/src/testlib/doc/src/qttest-index.qdoc
+++ b/src/testlib/doc/src/qttest-index.qdoc
@@ -41,9 +41,11 @@
\snippet code/doc_src_qttest.cpp 0
+ \if !define(qtforpython)
To link against Qt Test, add this line to the project file:
\snippet code/doc_src_qttest.pro 1
+ \endif
\section1 Articles and Guides
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/doc_src_qttest.pro 1
+ \endif
See \l{Qt Test Overview} for an introduction on how to use
Qt's unit testing features with your applications.
diff --git a/src/testlib/doc/src/qttestlib-manual.qdoc b/src/testlib/doc/src/qttestlib-manual.qdoc
index 9bd210d71f..363ec17c6c 100644
--- a/src/testlib/doc/src/qttestlib-manual.qdoc
+++ b/src/testlib/doc/src/qttestlib-manual.qdoc
@@ -109,6 +109,7 @@
For more examples, refer to the \l{Qt Test Tutorial}.
+ \if !defined(qtforpython)
\section1 Building a Test
If you are using \c qmake as your build tool, just add the
@@ -132,6 +133,7 @@
See \l {Chapter 1: Writing a Unit Test}{Writing a Unit Test} for a step by
step explanation.
+ \endif
\section1 Qt Test Command Line Arguments