summaryrefslogtreecommitdiff
path: root/doc/src/qmlapp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/qmlapp')
-rw-r--r--doc/src/qmlapp/firststepsqml.qdoc4
-rw-r--r--doc/src/qmlapp/porting.qdoc4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/qmlapp/firststepsqml.qdoc b/doc/src/qmlapp/firststepsqml.qdoc
index f37cb4f1..78a5f8af 100644
--- a/doc/src/qmlapp/firststepsqml.qdoc
+++ b/doc/src/qmlapp/firststepsqml.qdoc
@@ -42,9 +42,9 @@ import.
To use the \l{Qt Quick} module, a QML document needs to
import it. The import syntax looks like this:
-\qml
+\code
import QtQuick 2.0
-\endqml
+\endcode
The types and functionality that \l{Qt Quick} provides can now
be used in the QML document!
diff --git a/doc/src/qmlapp/porting.qdoc b/doc/src/qmlapp/porting.qdoc
index 7d972002..d0e32884 100644
--- a/doc/src/qmlapp/porting.qdoc
+++ b/doc/src/qmlapp/porting.qdoc
@@ -52,9 +52,9 @@ There are very few changes in the QML language that affect the porting of existi
The \c QtQuick module has been updated to version 2.0. All QML applications should update their import
statements to use the new version:
-\qml
+\code
import QtQuick 2.0
-\endqml
+\endcode
\section2 Property and Method Changes