Qt includes a set of examples and demos that show how to use various aspects of QML. The examples are small demonstrations of particular QML components, while the demos contain more complete and functional applications.
To run the examples and demos, open them in Qt Creator or use the included QML Viewer tool. The QML Viewer can be run from the command line:
qmlviewer $QTDIR/demos/declarative/samegame/samegame.qml
On Mac OS X, you can run the included "QMLViewer" application from the Finder, or use the command line:
QMLViewer.app/Contents/MacOS/QMLViewer $QTDIR/demos/declarative/samegame/samegame.qml
The QML demos integrate a variety of features to demonstrate how QML can be used to produce sophisticated interfaces and applications:
Calculator | Flickr Mobile | Minehunt |
Photo Viewer | RSS News Reader | Same Game |
Snake | Web Browser |
The demos can be found in Qt's demos/declarative directory.
The QML examples are small, simple applications that show how to use a particular QML component or feature. If you are new to QML, you may also find the Hello World and Same Game tutorials useful.
The examples can be found in Qt's examples/declarative directory.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.