summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/examples.qdoc
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-11-26 04:10:01 (GMT)
committerBea Lam <bea.lam@nokia.com>2009-11-26 04:10:01 (GMT)
commitdbc13c80c8d06af0aa2187946d3fb2bab1654f2e (patch)
tree1efb62cb54f582fd7cc1b051ee649b3de1534b22 /doc/src/declarative/examples.qdoc
parent68e8b4c097f185c5380f92f6518b200f1d8ef06e (diff)
downloadQt-dbc13c80c8d06af0aa2187946d3fb2bab1654f2e.zip
Qt-dbc13c80c8d06af0aa2187946d3fb2bab1654f2e.tar.gz
Qt-dbc13c80c8d06af0aa2187946d3fb2bab1654f2e.tar.bz2
doc fixes
Diffstat (limited to 'doc/src/declarative/examples.qdoc')
-rw-r--r--doc/src/declarative/examples.qdoc26
1 files changed, 12 insertions, 14 deletions
diff --git a/doc/src/declarative/examples.qdoc b/doc/src/declarative/examples.qdoc
index 7950f66..3288e17 100644
--- a/doc/src/declarative/examples.qdoc
+++ b/doc/src/declarative/examples.qdoc
@@ -43,33 +43,31 @@
\page qmlexamples.html
\title QML Examples and Walkthroughs
-\section1 Running Examples
+\section1 Running Examples and Demos
-A \l {qmlviewer}{viewer} application is included that allows you to quickly explore many of the
-examples. It has some useful options, revealed by:
+You can find many simple examples in the \c examples/declarative
+sub-directory that show how to use various aspects of QML. In addition, the
+\c demos/declarative sub-directory contains more sophisticated demos of large
+applications. These demos are intended to show integrated functionality
+rather than being instructive on specifice elements.
+
+To run the examples and demos, use the included \l {qmlviewer}{qmlviewer}
+application. It has some useful options, revealed by:
\code
bin/qmlviewer -help
\endcode
-There are several illustrative QML examples available. From your build
-directory,
+For example, from your build directory, run:
\code
- bin/qmlviewer $QT_SOURCE_DIR/demos/declarative/flickr/flickr-desktop.qml
+ bin/qmlviewer $QTDIR/demos/declarative/flickr/flickr-desktop.qml
\endcode
or
\code
- bin/qmlviewer $QT_SOURCE_DIR/demos/declarative/samegame/samegame.qml
+ bin/qmlviewer $QTDIR/demos/declarative/samegame/samegame.qml
\endcode
-Many other simple examples can be found under the \c examples/declarative sub
-directory. Some can be run directly using the viewer like those above, and
-others require you to build and run an executable. More sophisticated demos of
-large applications can be found under the \c demos/declarative sub directory.
-These are intended to show more integrated functionality rather than to be
-instructive on specific elements.
-
\section1 Examples
These will be documented, and demonstrate how to achieve various things in QML.