diff options
Diffstat (limited to 'src/qml/doc/src/qtqml-cpp.qdoc')
-rw-r--r-- | src/qml/doc/src/qtqml-cpp.qdoc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/qml/doc/src/qtqml-cpp.qdoc b/src/qml/doc/src/qtqml-cpp.qdoc index 14c9a87ab4..971bb88825 100644 --- a/src/qml/doc/src/qtqml-cpp.qdoc +++ b/src/qml/doc/src/qtqml-cpp.qdoc @@ -34,16 +34,12 @@ To include the definitions of the module's classes, use the following directive: -\code -#include <QtQml> -\endcode +\snippet code/doc_src_qtqml.cpp 0 To link against the module, add this line to your \l qmake \c .pro file: -\code -QT += qml -\endcode +\snippet code/doc_src_qtqml.pro 0 For more information on the Qt QML module, see the \l{Qt QML} module documentation. |