All Qt Examples
A tutorial for Qt Quick based on an alarms application. | |
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. |
Qt Bluetooth
An example showing communication through Bluetooth | |
An example showing the use of Bluetooth Object Push Profile (OPP) | |
A game demonstrating the interaction with a Bluetooth Low Energy Heart Rate device/service | |
An example demonstrating how to set up and advertise a GATT service. The example demonstrates the use of the Qt Bluetooth Low Energy classes related to peripheral (slave) functionality | |
An application designed to browse the content of Bluetooth Low Energy peripheral devices. The example demonstrates the use of all Qt Bluetooth Low Energy classes | |
An example demonstrating communication through Bluetooth QML API | |
A QML example showing Bluetooth communication | |
An example showing how to locate Bluetooth devices | |
An example showing the use Bluetooth Object Push Profile (OPP) | |
A QML example about locating Bluetooth devices |
Qt Location
Map Viewer example shows how to display and interact with a map, search for an address, and find driving directions | |
How to use transitions together with MapItemView | |
Minimum code to display a map using Qt Quick | |
Places example demonstrates how to search for Places and access related content | |
Places List example demonstrates how to search for and display a list of places using a ListView | |
Places Map example demonstrates how to search for and display a list of places on a map using a MapItemView | |
Plane Spotter example demonstrates the tight integration of location and positioning data types into QML |
Qt Multimedia
Testing the available audio devices and their configuration | |
Recording audio using the QAudioInput class | |
Enabling audio playback using the QAudioOutput class | |
Discovering the available devices and supported codecs | |
Enabling 3D sound control using the Qt Audio Engine API | |
Camera Example shows how to use the API to capture a still image or video | |
Demonstrates using the Radio QML type from Qt Multimedia | |
Playing audio and video | |
Camera Example shows how to use the API to capture a still image or video | |
Transforming video and camera viewfinder content | |
Applying shader effects on video and camera viewfinder content | |
Analyzing a raw audio stream using the FFTReal library | |
Streaming video on a graphics scene | |
Implementing a video player widget |
Qt NFC
An example showing reading from formatted NFC Data Exchange Format (NDEF) messages | |
An example about reading and writing NFC Data Exchange Format (NDEF) messages to NFC Forum Tags | |
A QML example about displaying NFC Data Exchange Format (NDEF) messages | |
A QML example about reading and displaying NFC Data Exchange Format (NDEF) messages |
Qt Positioning
GeoFlickr example shows how to use the user's current position to fetch local content from a web service | |
Logfile Position Source shows how to create and work with a custom NMEA position source, for platforms without GPS | |
SatelliteInfo example shows how the available satellites at the user's current position and marks the satellites currently contributing to the GPS fix as pink | |
Weather Info example shows how to use the user's current position to retrieve local content from a web service in a C++ plugin for QML |
Qt Quick Controls
Tutorial about writing a basic chat client using Qt Quick Controls | |
A QML app using Qt Quick Controls and a C++ class that implements a simple contact list | |
A QML app using Qt Quick Controls and a QML plugin with customized controls | |
A gallery of controls | |
An automotive user interface using custom Imagine style assets | |
An audio player user interface using custom Imagine style assets | |
A persistent side panel with Drawer | |
Demonstrates removal of list items by swipe gesture | |
A QML app using Qt Quick Controls and a C++ class to provide a fully-functional rich-text editor application | |
Demonstrates an application launcher designed for wearable devices |
Qt Quick Controls 1
Demonstrates the use of Calendar control | |
An example for the TreeView control | |
A collection of components for a classic desktop-style UI | |
Demonstrates custom styles | |
An example for the TableView control | |
A QML app using Qt Quick Controls and a C++ class to provide a fully-functional rich-text editor application | |
Demonstrates UI controls for a touch interface | |
Demonstrates how to separate the application logic from the UI |
Qt Quick Dialogs
This example demonstrates the system dialog types in QML |
Qt Quick Extras
A car dashboard created using several CircularGauge controls | |
An interactive showcase of the flat style | |
An interactive showcase of the various controls |
Qt SVG
Qt Script
Qt Sensors
AccelBubble example demonstrates the Accelerometer QML type | |
Sensor gesture example demonstrates the steps for creating a C++ application that uses sensor gestures and the included shake sensor | |
Demonstrates how to read the meta-data of available sensors | |
Qt Sensors - Grue sensor example demonstrates all the steps from creating a new sensor to using it | |
Maze example demonstrates the TiltSensor QML type | |
QtSensors - QML example demonstrates the QML sensors types in the QtSensors 5 import | |
Demonstrates the use of SensorGesture QML type | |
Sensor gesture example demonstrates the steps for creating a QML application that uses sensor gestures and the included shake sensor |
Qt Serial Port
Shows how to use the synchronous API of QSerialPort in a worker thread | |
Shows how to use the synchronous API of QSerialPort in a non-GUI thread | |
Shows how to get information about serial devices in a system | |
Shows how to receive data asynchronously over serial port | |
Shows how to receive data synchronously over serial port | |
Shows how to send data asynchronously over serial port | |
Shows how to send data synchronously over serial port | |
Shows how to display information about serial devices in a system | |
Shows how to use various features of QSerialPort |
Qt WebChannel
A HTML/JavaScript client that communicates over a WebSocket with a QWebChannel server | |
A QML client that communicates over a WebSocket with a QWebChannel server | |
A simple chat server implemented using the QWebChannel C++ API | |
A simple chat between a server and a remote client running in a browser |
Qt WebSockets
Describes how to use the WebSocket API for creating a simple echo client | |
Shows how to create a simple server application that sends back the messages it receives | |
Explains how to program a QML WebSocket client example | |
A simple example that shows how to use a QML WebSocketServer | |
Shows how to use the QWebSocket class to implement an echo client over a secure connection (wss) | |
Shows how to use the QWebSocketServer class for implementing a simple echo server over secure sockets (wss) | |
Shows how to use the QWebSocket and QWebSocketServer classes for creating a minimalistic chat application over the WebSocket protocol |
Qt XML Patterns
Using XQuery and the xmlpatterns command line utility to query C++ source code | |
Using Qt XML Patterns for querying non-XML data that is modeled to look like XML | |
Using Qt XML Patterns to query XML data loaded from a file | |
Using Qt XML Patterns to validate XML with a W3C XML Schema |