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/dbus/doc/src/qtdbus-module.qdoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dbus') diff --git a/src/dbus/doc/src/qtdbus-module.qdoc b/src/dbus/doc/src/qtdbus-module.qdoc index 965475ab8d..0ef5999b11 100644 --- a/src/dbus/doc/src/qtdbus-module.qdoc +++ b/src/dbus/doc/src/qtdbus-module.qdoc @@ -51,6 +51,7 @@ \snippet code/doc_src_qtdbus.cpp 0 + \if !defined(qtforpython) If you're using qmake to build your application, you can add this line to your .pro file to make it link against the Qt D-Bus libraries: @@ -60,6 +61,7 @@ \note The source code for this module is located in the \c{src/qdbus} directory. When installing Qt from source, this module is built when Qt's tools are built. + \endif See the \l {Qt D-Bus}{D-Bus} page for detailed information on how to use this module. -- cgit v1.2.3