Qt Quick Examples and Tutorials
This page lists the Qt QML and Qt Quick examples, however, many other Qt modules contain examples related to their QML API.
Running the Examples and Demos
The examples are packaged with the Qt installers and are accessed through Qt Creator. For more information about running examples in Qt Creator, visit the Building and Running an Example page.
Open and run examples within Qt Creator's Welcome mode. Most of the examples run on various platforms and to search for platform-specific examples, type the platform name (or any keywords) in the search field. For example, typing mobile
in the search field lists the examples that are fully compatible with the mobile platforms.
To view other examples and tutorials, visit the Qt Examples And Tutorials page.
Qt Quick Demos
Here is a list of fully-functional demo applications. They are full applications that show how a deployable Qt application is built and structured. Many of the demos are deployable to mobile and desktop platforms.
A QML app designed for portrait devices that uses custom components, animated with AnimationController, and JavaScript for the application logic | |
A QML clock application that demonstrates using a ListView type to display data generated by a ListModel and a SpringAnimation type to animate images | |
A Qt Quick game for touch devices that uses SpriteSequence, ParticleSystem, Emitter, and Wander types to animate objects and the SoundEffect type to play sound effects | |
A QML app for touch devices that uses a Repeater with a FolderListModel to access content in a folder, and a PinchArea that contains a MouseArea to handle pinch gestures on the fetched content | |
A QML photo viewer that that uses XmlListModel and XmlRole to download Flickr feeds, and Package to display the photos in different views | |
A QML RSS news reader that uses XmlListModel and XmlRole to download XML data, ListModel and ListElement to create a category list, and ListView to display the data | |
A QML implementation of the popular puzzle game by Kuniaki Moribe | |
A configurable stock chart for the NASDAQ-100 | |
A Twitter search client with 3D effects |
Developing Qt Quick Applications
The following pages show how to develop Qt applications using Qt Creator and Qt Quick. The pages demonstrate various steps such as use cases and introductory material. For more information about Qt Quick Applications and related modules, visit the QML Applications page.
Development Environment
Beginning with QML and Qt Quick
Extending QML
The following tutorials show how a QML-based application can be combined with C++ code using the Qt QML module. For information about extending QML, visit the Integrating QML and C++ page.
Exporting C++ Classes | |
Attached Properties | |
Binding | |
Default Property | |
Extension Objects | |
Grouped Properties | |
C++ Inheritance and Coercion | |
Methods Support | |
Exporting C++ Properties | |
Property Value Source | |
Signal Support |
Examples
Examples are small applications which show how to implement various Qt Quick features. The examples run on various platforms and are opened from within Qt Creator.
QML Types and Controls
Layouts and Views
Image and Graphics
Keyboard, Focus, and Touch
System and Events