summaryrefslogtreecommitdiffstats
path: root/src/network/doc/src
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-06-28 14:55:06 +0200
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-08-30 09:23:42 +0000
commit059b10f295d8d04c4144984daf1464115bcb69c9 (patch)
treeca69a0ba1d9c14082323e8985b29a65ed463a225 /src/network/doc/src
parentbd42e2f0cebb2fe8de77a054e9d30aa803749a61 (diff)
Doc: Check before including the \snippet from a .pro file
Change-Id: Icc7552b46a2657c81958e40f33596ddeee045172 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/network/doc/src')
-rw-r--r--src/network/doc/src/qtnetwork.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/doc/src/qtnetwork.qdoc b/src/network/doc/src/qtnetwork.qdoc
index 517e0a72cb..c931a1c19f 100644
--- a/src/network/doc/src/qtnetwork.qdoc
+++ b/src/network/doc/src/qtnetwork.qdoc
@@ -40,10 +40,13 @@
\code
#include <QtNetwork>
\endcode
+
+ \if !defined(qtforpython)
To link against the Qt Network module, add this line to the project file:
\code
QT += network
\endcode
+ \endif
\section1 Articles and Guides