![]() |
Home · All Classes · All Functions · Overviews |
You can find many simple examples in the examples/declarative sub-directory that show how to use various aspects of QML. In addition, the 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 qmlviewer application. It has some useful options, revealed by:
bin/qmlviewer -help
For example, from your build directory, run:
bin/qmlviewer $QTDIR/demos/declarative/flickr/flickr-desktop.qml
or
bin/qmlviewer $QTDIR/demos/declarative/samegame/samegame.qml
These will be documented, and demonstrate how to achieve various things in QML.
Elastic Dial | |
Toggle Switch | |
SameGame |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.7.0 |