QML Examples and Demos
Building UIs with QML
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.
- 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:
RSS News Reader||
The demos can be found in Qt's demos/declarative directory.
The examples can be found in Qt's examples/declarative directory.
Models and Views
- String ListModel
- Object ListModel