diff options
author | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2018-06-28 14:55:06 +0200 |
---|---|---|
committer | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2018-08-30 09:23:42 +0000 |
commit | 059b10f295d8d04c4144984daf1464115bcb69c9 (patch) | |
tree | ca69a0ba1d9c14082323e8985b29a65ed463a225 /src/gui/doc/src/qtgui.qdoc | |
parent | bd42e2f0cebb2fe8de77a054e9d30aa803749a61 (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/gui/doc/src/qtgui.qdoc')
-rw-r--r-- | src/gui/doc/src/qtgui.qdoc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/doc/src/qtgui.qdoc b/src/gui/doc/src/qtgui.qdoc index a425c8a84d..53fd55bd39 100644 --- a/src/gui/doc/src/qtgui.qdoc +++ b/src/gui/doc/src/qtgui.qdoc @@ -46,11 +46,12 @@ \snippet code/doc_src_qtgui.pro 0 + \if !defined(qtforpython) If you use \l qmake to build your projects, \l{Qt GUI} is included by default. To disable Qt GUI, add the following line to your \c .pro file: \snippet code/doc_src_qtgui.pro 1 - + \endif */ /*! @@ -75,10 +76,12 @@ \snippet code/doc_src_qtgui.pro 0 + \if !defined(qtforpython) If you use \l qmake to build your projects, Qt GUI is included by default. To disable Qt GUI, add the following line to your \c .pro file: \snippet code/doc_src_qtgui.pro 1 + \endif \section1 Application Windows |