Doc: Fixed information about the default modules when using qmake.

-Qt GUI and Qt Core are included by default
-Added entry about disabling "gui" in the .pro file
-Information placed in snippet files

Change-Id: I1c70dcac9ca2d443e9f658e2a27727d24a25cae1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Jerome Pasion 2013-09-03 17:33:17 +02:00 committed by The Qt Project
parent 63b5082ea8
commit 096499f69a
4 changed files with 17 additions and 1 deletions

View File

@ -37,6 +37,8 @@
\snippet code/doc_src_qtcore.cpp 0
If you use \l qmake to build your projects, Qt Core is included by default.
\section1 Core Functionalities
Qt adds these features to C++:

View File

@ -37,4 +37,8 @@
definitions of the module's classes, use the following directive:
\snippet code/doc_src_qtcore.cpp 0
If you use \l qmake to build your projects, \l{Qt Core} is included by
default.
*/

View File

@ -1,3 +1,7 @@
#! [0]
#include <QtGui>
#! [0]
#! [1]
QT -= gui
#! [1]

View File

@ -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