summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/doc/snippets/code/doc_src_qtgui.pro4
-rw-r--r--src/gui/doc/src/qtgui.qdoc8
2 files changed, 11 insertions, 1 deletions
diff --git a/src/gui/doc/snippets/code/doc_src_qtgui.pro b/src/gui/doc/snippets/code/doc_src_qtgui.pro
index 51bb6c74ff..e705555336 100644
--- a/src/gui/doc/snippets/code/doc_src_qtgui.pro
+++ b/src/gui/doc/snippets/code/doc_src_qtgui.pro
@@ -1,3 +1,7 @@
#! [0]
#include <QtGui>
#! [0]
+
+#! [1]
+QT -= gui
+#! [1]
diff --git a/src/gui/doc/src/qtgui.qdoc b/src/gui/doc/src/qtgui.qdoc
index 75c74c8072..d22c380145 100644
--- a/src/gui/doc/src/qtgui.qdoc
+++ b/src/gui/doc/src/qtgui.qdoc
@@ -46,7 +46,10 @@
\snippet code/doc_src_qtgui.pro 0
- See the \l {Qt GUI} page for more details.
+ 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
*/
@@ -72,7 +75,10 @@
\snippet code/doc_src_qtgui.pro 0
+ 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
\section1 Application Windows