From 059b10f295d8d04c4144984daf1464115bcb69c9 Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Thu, 28 Jun 2018 14:55:06 +0200 Subject: Doc: Check before including the \snippet from a .pro file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Icc7552b46a2657c81958e40f33596ddeee045172 Reviewed-by: Friedemann Kleint Reviewed-by: Topi Reiniƶ --- src/xml/doc/src/qtxml-index.qdoc | 2 ++ src/xml/doc/src/qtxml.qdoc | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/xml') diff --git a/src/xml/doc/src/qtxml-index.qdoc b/src/xml/doc/src/qtxml-index.qdoc index 91f2515d60..dfb9b45fa7 100644 --- a/src/xml/doc/src/qtxml-index.qdoc +++ b/src/xml/doc/src/qtxml-index.qdoc @@ -38,10 +38,12 @@ \snippet code/doc_src_qtxml.cpp 0 + \if !defined(qtforpython) To link against the module, add this line to your \l qmake \c .pro file: \snippet code/doc_src_qtxml.pro 1 + \endif The \l{Qt XML C++ Classes} page gives an overview over the available classes in this module. diff --git a/src/xml/doc/src/qtxml.qdoc b/src/xml/doc/src/qtxml.qdoc index dbad66a507..ad9b08b623 100644 --- a/src/xml/doc/src/qtxml.qdoc +++ b/src/xml/doc/src/qtxml.qdoc @@ -41,8 +41,10 @@ \snippet code/doc_src_qtxml.cpp 0 + \if !defined(qtforpython) To link against the module, add this line to your \l qmake \c .pro file: \snippet code/doc_src_qtxml.pro 1 + \endif */ -- cgit v1.2.3