diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-11-15 03:15:12 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-11-15 03:15:12 (GMT) |
commit | cde72ad73cf2ee31e701e84763c152685493b7c7 (patch) | |
tree | 564b1e8b38491495b43437300989d2857b65b8c3 /doc/src | |
parent | 34a81201b04a065b948d4da3b2a08b65c45232db (diff) | |
parent | f966c3f22cd453a47ef6754c24b050bc5c2ac5f0 (diff) | |
download | Qt-cde72ad73cf2ee31e701e84763c152685493b7c7.zip Qt-cde72ad73cf2ee31e701e84763c152685493b7c7.tar.gz Qt-cde72ad73cf2ee31e701e84763c152685493b7c7.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/doc-staging into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/doc-staging:
qdoc: Added QML Elements to the Assistant index
qdoc: Fixed virtualness and constness of the fileBase() function.
Added the location of Getting Started with QML code.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/getting-started/gettingstartedqml.qdoc | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/src/getting-started/gettingstartedqml.qdoc b/doc/src/getting-started/gettingstartedqml.qdoc index c555627..54fa098 100644 --- a/doc/src/getting-started/gettingstartedqml.qdoc +++ b/doc/src/getting-started/gettingstartedqml.qdoc @@ -58,7 +58,12 @@ \image qml-texteditor5_editmenu.png - To run the QML example code, merely provide the included \l{QML Viewer}{qmlviewer} + The final source code is in the \c{examples/tutorials/gettingStarted/gsQml} + directory. You may need to compile the C++ plugin in the + \c{examples/tutorials/gettingStarted/gsQml/} first. This will put the + C++ plugin in a directory where the QML files may find it. + + To launch the text editor, merely provide the included \l{QML Viewer}{qmlviewer} tool with the QML file as the argument. The C++ portion of this tutorial assumes that the reader possesses basic knowledge of Qt's compilation procedures. @@ -1005,4 +1010,14 @@ The application can function as a simple text editor, able to accept text and save the text into a file. The text editor can also load from a file and perform text manipulation. + + \section1 Running the Text Editor + + We need to compile the file dialog C++ plugin before the text editor can run. + To compile, enter the \c gsQml directory, then run \c qmake and compile + using \c make or \c nmake, depending on your platform. To run, launch + qmlviewer and open the \c texteditor.qml file. + + The source code is in the \c{examples/tutorials/gettingStarted/gsQml} + directory. */ |