diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2014-06-06 13:43:09 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-06 17:13:10 +0200 |
commit | 9efe32480ff91a043ee8a94e9f45765b0c73f1ea (patch) | |
tree | c0201282760b72addeba1b3369d81b11a055281a | |
parent | 95d57359601d7ec92fd1bcf2029f4273922a0003 (diff) | |
download | qtdoc-stable.tar.gz |
Doc: Edited section about loading QML files.stable
-focus should be on Qt Creator, not qmlscene.
Change-Id: Iea2c958aaa3457f5040c77c5e2cc1a8367ff82dc
Reviewed-by: Martin Smith <martin.smith@digia.com>
-rw-r--r-- | doc/src/qmlapp/firststepsqml.qdoc | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/doc/src/qmlapp/firststepsqml.qdoc b/doc/src/qmlapp/firststepsqml.qdoc index a15b8390..a69d0292 100644 --- a/doc/src/qmlapp/firststepsqml.qdoc +++ b/doc/src/qmlapp/firststepsqml.qdoc @@ -103,17 +103,19 @@ If we save that document as "HelloWorld.qml", we can load and display it. \section1 Loading and Displaying the QML Document To display the graphical scene defined by the QML document, it may be loaded -with the \l{Prototyping with qmlscene}{qmlscene} tool. The -\l{Prototyping with qmlscene}{qmlscene} tool should be installed into the -Qt installation directory. Assuming that the Qt binaries are installed into -or are available in the system executable path, you can display the QML -document with the following command: +with \l{Qt Creator Manual}{Qt Creator}. For simple UI files such as this one, +select \gui{File > New File or Project > Applications > Qt Quick UI} from +within Qt Creator. -\code -qmlscene HelloWorld.qml -\endcode +Pressing the green \gui{Run} button runs the application. You should see the +text \gui{Hello, World!} in the center of a red rectangle. -You should see the text "Hello, World!" in the center of a red rectangle. +For more information about creating and running projects in Qt Creator, visit +the following pages: +\list +\li \l{Qt Creator: Creating Qt Quick Projects}{Creating Qt Quick Projects} +\li \l{Qt Creator: Building and Running an Example}{Building and Running an Example} +\endlist \section1 Handling User Input |