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:
parent
63b5082ea8
commit
096499f69a
@ -37,6 +37,8 @@
|
|||||||
|
|
||||||
\snippet code/doc_src_qtcore.cpp 0
|
\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
|
\section1 Core Functionalities
|
||||||
|
|
||||||
Qt adds these features to C++:
|
Qt adds these features to C++:
|
||||||
|
@ -37,4 +37,8 @@
|
|||||||
definitions of the module's classes, use the following directive:
|
definitions of the module's classes, use the following directive:
|
||||||
|
|
||||||
\snippet code/doc_src_qtcore.cpp 0
|
\snippet code/doc_src_qtcore.cpp 0
|
||||||
|
|
||||||
|
If you use \l qmake to build your projects, \l{Qt Core} is included by
|
||||||
|
default.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
#! [0]
|
#! [0]
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
#! [0]
|
#! [0]
|
||||||
|
|
||||||
|
#! [1]
|
||||||
|
QT -= gui
|
||||||
|
#! [1]
|
||||||
|
@ -46,7 +46,10 @@
|
|||||||
|
|
||||||
\snippet code/doc_src_qtgui.pro 0
|
\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
|
\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
|
\section1 Application Windows
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user