Licenses Used in Qt▲
Qt contains some code that is not provided under the GNU Lesser General Public License (LGPL) or the Qt Commercial License, but rather under specific licenses from the original authors.
The Qt Company gratefully acknowledges these and other contributions to Qt. We recommend that programs that use Qt also acknowledge these contributions, and quote these license statements in an appendix to the documentation.
You only need to comply with (and acknowledge) the licenses of the third-party components that you are using with your application. Click the name of the component to see the licensing details.
Third-party Licenses
The following table lists parts (modules) of Qt 6.4.3 that incorporate code licensed under third-party open-source licenses:
-
Coffee Machine Example: A Qt Quick application with a state-based custom user interface.
-
Getting Started Programming with Qt Quick: A tutorial for Qt Quick based on an alarms application.
-
In-App purchasing demo: A complete mobile application that demonstrates purchasing in-app products.
-
Qt Quick Demo - Calqlatr: A QML app designed for portrait devices that uses custom components, animated with AnimationController, and JavaScript for the application logic.
-
Qt Quick Demo - Clocks: A QML clock application that demonstrates using a ListView type to display data generated by a ListModel and a SpringAnimation type to animate images.
-
Qt Quick Demo - Photo Surface: 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.
-
Qt Quick Demo - Photo Viewer: A QML photo viewer that uses XmlListModel and XmlListModelRole to download Flickr feeds, and Package to display the photos in different views.
-
Qt Quick Demo - RESTful API client Address Book: Example of how to create a RESTful API client.
-
Qt Quick Demo - RSS News: A QML RSS news reader that uses XmlListModel and XmlListModelRole custom QML types to download XML data, ListModel and ListElement to create a category list, and ListView to display the data.
-
Qt Quick Demo - StocQt: A configurable stock chart for the NASDAQ-100.
Active Qt▲
-
COM App Example (ActiveQt): The COM App example shows how to use ActiveQt to develop a Qt application that can be automated via COM. Different QObject based classes are exposed as COM objects that communicate with the GUI of the running Qt application. The APIs of those COM objects has been designed to resemble the APIs of standard COM applications; i.e. those from Microsoft Office.
-
Hierarchy Example (ActiveQt): The Hierarchy example is shows how to write an in-process ActiveX control. The control is a QWidget subclass with child widgets that are accessible as sub-types.
-
Media Player Example (ActiveQt): The Media Player example uses the Microsoft Media Player ActiveX control to implement a functional media player application.
-
Menus Example (ActiveQt): The Menus example demonstrates the use of QMenuBar and QStatusBar in a QMainWindow to implement an in-place active control.
-
Multiple Example (ActiveQt): The Multiple example demonstrates the implementation of a QAxFactory to provide multiple ActiveX controls in a single in process ActiveX server using the QAXFACTORY_EXPORT() macro. The ActiveX controls in this example are simple QWidget subclasses that reimplement QWidget::paintEvent().
-
OpenGL Example (ActiveQt): The OpenGL example demonstrates the use of the default factory and QAxFactory::isServer(), and the implementation of an additional COM interface using QAxBindable and QAxAggregated. The server executable can run both as an ActiveX server and as a stand-alone application.
-
Qutlook Example (ActiveQt): The Qutlook example demonstrates the use of ActiveQt to automate Outlook. The example makes use of the dumpcpp tool to generate a C++ namespace for the type library describing the Outlook Object Model.
-
Simple Example (ActiveQt): The Simple example demonstrates the use of QAxBindable and QAxFactory.
-
Wrapper Example (ActiveQt): The Wrapper example demonstrates how to export existing QWidget classes as ActiveX controls, and the use of QAxFactory together with the QAXFACTORY_EXPORT() macro. ActiveX controls in this example are the standard button classes QPushButton, QCheckBox and QRadioButton as provided by Qt.
Qt 3D▲
-
Qt 3D: Advanced Custom Material QML Example: Demonstrates creating advanced materials in Qt3D.
-
Qt 3D: Audio Visualizer Example: Demonstrates combining Qt 3D rendering and Qt Quick 2 elements.
-
Qt 3D: Basic Shapes C++ Example: Shows four basic shapes that Qt 3D offers and sets up a mesh for each of them.
-
Qt 3D: Multi Viewport QML Example: A QML example that demonstrates rendering a Scenegraph from multiple viewports.
-
Qt 3D: PBR Materials QML Example: A QML application that demonstrates using PBR materials.
-
Qt 3D: Planets QML Example: Demonstrates combining Qt 3D rendering and Qt Quick 2 elements.
-
Qt 3D: Scene2D QML Example: A QML application that demonstrates using Qt Quick 2 within a Qt 3D scene.
-
Qt 3D: Scene3D QML Example: A QML application that demonstrates visualizing a 3D scene.
-
Qt 3D: Scene3D QML with Widgets Example: A QWidget-based application with a QML scene containing a 3D scene.
-
Qt 3D: Shadow Map QML Example: A Qt 3D QML application that illustrates how to render a scene in Qt 3D with shadows.
-
Qt 3D: Simple C++ Example: A C++ application that demonstrates how to render a scene in Qt 3D.
-
Qt 3D: Simple Custom Material QML Example: Demonstrates creating a custom material in Qt 3D.
-
Qt 3D: Simple QML Example: A QML application that demonstrates how to render a scene in Qt 3D.
-
Qt 3D: Wave QML Example: A QML application that demonstrates using vertex and geometry shaders.
-
Qt 3D: Wireframe QML Example: A Qt 3D QML application that implements a single-pass wireframe rendering method.
Qt Assistant Manual▲
-
Remote Control Example: Using and controlling Qt Assistant as a help viewer.
-
Simple Text Viewer Example: Using Qt Assistant as a customized help viewer for your application.
Qt Bluetooth▲
-
Bluetooth Chat Example: An example showing communication through Bluetooth.
-
Bluetooth Low Energy Heart Rate Game: A game demonstrating the interaction with a Bluetooth Low Energy Heart Rate device/service.
-
Bluetooth Low Energy Heart Rate Server Example: 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.
-
Bluetooth Low Energy Scanner Example: 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.
-
Bluetooth QML Ping Pong example: A QML example showing Bluetooth communication.
-
Bluetooth Scanner Example: An example showing how to locate Bluetooth devices.
Qt Charts▲
-
AreaChart Example: The example shows how to create a simple area chart.
-
Audio Example: This example shows the drawing of dynamic data (microphone input).
-
BarChart Example: The example shows how to create a bar chart.
-
BarModelMapper Example: This example shows how to use QAbstractItemModel derived model as the data for the bar series.
-
Box and Whiskers Example: The example shows how to create a box-and-whiskers chart.
-
Callout Example: This example shows how to draw an additional element (a callout) on top of the chart.
-
Candlestick Chart Example: Shows how to create a candlestick chart.
-
Chart Themes Example: The example shows the look and feel of the different built-in themes.
-
Custom Chart Example: This example shows how to customize the appearance of the different elements on a chart.
-
DateTimeAxis Example: The example shows how to use QLineChart with QDateTimeAxis.
-
Donut Chart Breakdown Example: This example shows how to use create a donut breakdown chart using QPieSeries API.
-
Donutchart Example: This example shows how to create a simple donut chart, and do some customizations to a slice.
-
Dynamic Spline Example: This example shows how to draw dynamic data.
-
HorizontalBarChart Example: The example shows how to create a horizontal bar chart.
-
HorizontalPercentBarChart Example: The example shows how to create a simple horizontal percent bar chart.
-
HorizontalStackedBarChart Example: The example shows how to create a simple stacked horizontal bar chart.
-
Legend Example: This example shows how to detach the legend from the chart and how to attach it back.
-
LegendMarkers Example: The example shows how to make use of legend markers.
-
Light Markers Points Selection Example: The example shows a usage of light markers and points selection for the series.
-
Line and BarChart Example: The example shows how to combine different charts and set the axes.
-
LineChart Example: The example shows how to create a simple line chart.
-
Logarithmic Axis Example: The example shows how to use QLogValueAxis.
-
Model Data Example: This example shows how to use the QAbstractItemModel derived model as the data for the series.
-
Multiple Axes Example: The example shows how to create a simple chart with two vertical axes. One for each series.
-
Nested Donuts Example: This example shows how to create a nested donuts chart using the QPieSeries API.
-
OpenGL Accelerated Series Example: The example shows how to enable OpenGL acceleration for QLineSeries and QScatterSeries.
-
PercentBarChart Example: The example shows how to create a simple percent bar chart.
-
Pie Chart Customization Example: This example shows how the look and feel of a pie chart can be customized.
-
Piechart Drilldown Example: The example shows how to implement a piechart with drilldown effect.
-
Piechart Example: The example shows how to create a simple pie chart and do some customizations to a pie slice.
-
Polar Chart Example: The example shows how to create a simple polar chart with multiple different series.
-
Qml Axes: This is a demonstration of how to use axes in your QML application.
-
Qml Charts Example: This basic demonstration shows how to use the different chart types by using qml.
-
Qml Custom Legend: This example shows you how to create your own custom legend.
-
Qml Customizations: This application shows you how to customize different visual properties of a ChartView and series.
-
Qml F1 Legends: This application demonstrates how to use ListModel as a datasource for a Chart.
-
Qml Oscilloscope: The example shows how to implement application with strict performance requirements using the Qt Charts QML API.
-
Qml Polar Chart: This is a demonstration on how to use a polar chart in your QML application.
-
Qml Weather: This is a basic demonstration showing how to use the different chart types by using qml.
-
Scatter Interactions Example: This example shows how to create a simple scatter chart and how to interact with the chart.
-
ScatterChart Example: The example shows how to create a simple scatter chart.
-
SelectedBar Example: The example shows how to use a selection feature for the bar chart.
-
SplineChart Example: The example shows how to create a simple spline chart.
-
StackedBarChart Drilldown Example: The example shows how to implement drilldown using a stacked barchart.
-
StackedBarChart Example: The example shows how to create a simple stacked bar chart.
-
Temperature Records Example: The example shows how to create a bar chart with negative bars.
-
Zoom Line Example: The example shows how to create your own custom zooming effect.
Qt CoAP▲
-
Console CoAP Client Example: Creating a simple console application that communicates with a CoAP server.
-
Quick CoAP Multicast Discovery Example: Using the CoAP client for a multicast resource discovery with a Qt Quick user interface.
-
Quick Secure CoAP Client Example: Securing the CoAP client and using it with a Qt Quick user interface.
-
Simple CoAP Client Example: Creating an application that communicates with a CoAP server.
Qt Concurrent▲
-
Image Scaling Example: Demonstrates how to asynchronously download and scale images.
-
Map Example: Demonstrates how to scale images synchronously.
-
QtConcurrent Progress Dialog Example: Demonstrates how to monitor the progress of the active processes.
-
QtConcurrent Word Count Example: Demonstrates how to use the map-reduce algorithm.
-
Run Function Example: Demonstrates how to run standard functions concurrently.
Qt Core▲
-
Bindable Properties Example: Demonstrates how the usage of bindable properties can simplify your C++ code.
-
Cbordump Example: The Cbordump example demonstrates how to parse files in CBOR-format.
-
Contiguous Cache Example: The Contiguous Cache example shows how to use QContiguousCache to manage memory usage for very large models. In some environments memory is limited and, even when it isn't, users still dislike an application using excessive memory. Using QContiguousCache to manage a list, rather than loading the entire list into memory, allows the application to limit the amount of memory it uses, regardless of the size of the data set it accesses.
-
Convert Example: The Convert example demonstrates how to convert between different serialization formats.
-
Custom Type Example: The Custom Type example shows how to integrate a custom type into Qt's meta-object system.
-
JSON Save Game Example: The JSON Save Game example demonstrates how to save and load a small game using QJsonDocument, QJsonObject and QJsonArray.
-
Local Fortune Client Example: Demonstrates using QLocalSocket for a simple local service client.
-
Local Fortune Server Example: Demonstrates using QLocalServer and QLocalSocket for serving a simple local service.
-
MIME Type Browser Example: Shows the hierarchy of MIME types and can be used to determine the MIME type of a file.
-
Mandelbrot Example: The Mandelbrot example demonstrates multi-thread programming using Qt. It shows how to use a worker thread to perform heavy computations without blocking the main thread's event loop.
-
Qt Android Notifier: Demonstrates calling Java code from Qt in an Android application.
-
Queued Custom Type Example: Demonstrates multi-thread programming using Qt.
-
Semaphores Example: Demonstrates multi-thread programming using Qt.
-
Shared Memory Example: Demonstrates doing inter-process communication using shared memory with the QSharedMemory class.
-
Wait Conditions Example: Demonstrates multi-thread programming using Qt.
Qt D-Bus▲
-
D-Bus Chat Example: Demonstrates communication among instances of an application.
-
D-Bus Complex Ping Pong Example: Demonstrates usage of the Qt D-Bus typesystem.
-
D-Bus List Names Example: Shows how to access the D-Bus bus daemon service.
-
D-Bus Ping Pong Example: Demonstrates a simple message system using D-Bus.
-
D-Bus Remote Controlled Car Example: Shows how to use Qt D-Bus to control a car from another application.
Qt Data Visualization▲
-
Axis Range Dragging With Labels Example: Implementing a custom input handler to support axis dragging.
-
Bars Example: Using Q3DBars in a widget application.
-
Custom Input Example: Implementing custom input handler in a widget application.
-
Custom Items Example: Adding custom items to a surface graph.
-
Custom Proxy Example: Using Q3DBars with a custom proxy.
-
Item Model Example: Using an item model as data source for Q3DBars.
-
Qt Quick 2 Axis Dragging Example: Implementing axis dragging in QML.
-
Qt Quick 2 Axis Formatter Example: Example of a hybrid C++ and QML application demonstrating different axis formatters.
-
Qt Quick 2 Bars Example: Using Bars3D in a QML application.
-
Qt Quick 2 Custom Input Example: Customizing input in a QML application.
-
Qt Quick 2 Legend Example: Showing graph legend in a QML application.
-
Qt Quick 2 Multiple Graphs Example: Showing multiple graphs simultaneously in a QML application.
-
Qt Quick 2 Oscilloscope Example: Example of a hybrid C++ and QML application.
-
Qt Quick 2 Scatter Example: Using Scatter3D in a QML application.
-
Qt Quick 2 Spectrogram Example: Showing spectrogram graph in a QML application.
-
Qt Quick 2 Surface Example: Using Surface3D in a QML application.
-
Qt Quick 2 Surface Multiseries Example: Using multiple series with Surface3D in a QML application.
-
Rotations Example: Using rotated scatter items.
-
Scatter Example: Using Q3DScatter in a widget application.
-
Surface Example: Using Q3DSurface in a widget application.
-
Textured Surface Example: Using texture with Q3DSurface.
-
Volumetric rendering Example: Rendering volumetric objects.
Qt Designer Manual▲
-
Calculator Builder Example: Creating a user interface from a Qt Designer form at run-time.
-
Calculator Form Example: Using a form created with Qt Designer in an application.
-
Container Extension Example: Creating a custom multi-page plugin for Qt Designer.
-
Custom Widget Plugin Example: Creating a custom widget plugin for Qt Designer.
-
Task Menu Extension Example: Creating a custom widget plugin for Qt Designer and providing custom task menu entries that are associated with the plugin.
-
World Time Clock Builder Example: Creating forms with Qt Designer that contain custom widgets that can be dynamically generated at run-time.
-
World Time Clock Plugin Example: Creating a custom widget plugin for Qt Designer that uses signals and slots.
Qt GUI▲
-
Analog Clock Window Example: The Analog Clock Window example shows how to draw the contents of a custom window.
-
Hello Vulkan Cubes Example: Shows the basics of using QVulkanWindow.
-
Hello Vulkan Texture Vulkan Example: Shows the basics of rendering with textures in a QVulkanWindow.
-
Hello Vulkan Triangle Example: Shows the basics of rendering with QVulkanWindow and the Vulkan API.
-
Hello Vulkan Widget Example: Shows the usage of QVulkanWindow in QWidget applications.
-
Hello Vulkan Window Example: Shows the basics of using QVulkanWindow.
-
Raster Window Example: This example shows how to create a minimal QWindow based application using QPainter for rendering.
Qt HTTP Server▲
-
AfterRequest Example: Example of the usage of afterRequest().
-
RESTful server Address Book Example: Example of how to create a RESTful API server using the QHttpServer.
-
Simple Example: Simple example of how to set up an HTTP server.
Qt Help▲
-
Context-Sensitive Help Example: Using the QHelpEngineCore class to implement context-sensitive help for applications.
Qt Linguist Manual▲
-
Arrow Pad Example: Understanding the Qt Linguist contexts concept and using two or more languages.
-
Hello tr() Example: Translating a small Hello World program to Latin.
-
Troll Print Example: Updating translations for later releases.
Qt MQTT▲
-
MQTT Subscriptions Example: Creating a application that communicates with an MQTT broker.
-
Quick MQTT Example: Registering QMqttClient to QML and using it in a Qt Quick user interface.
-
Simple MQTT Client Example: Creating a minimalistic telemetry application.
-
WebSockets MQTT Subscription Example: Combining an MQTT client with a web socket connection.
Qt Multimedia▲
-
Audio Devices Example: Testing the available audio devices and their configuration.
-
Audio Output Example: Enabling audio playback using the QAudioSink class.
-
Audio Recorder Example: Discovering the available devices and supported codecs.
-
Audio Source Example: Recording audio using the QAudioSource class.
-
Camera Example: Shows how to capture a still image or record video. or video.
-
Media Player Example: Playing audio and video.
-
QML Camera Example: The Camera Example shows how to use the API to capture a still image or video.
-
QML Media Player Example: Playing audio and video using Qt Quick.
-
QML Recorder Example: Recording audio and video using Qt Quick.
-
QML Video Example: Transforming video and camera viewfinder content.
-
Spectrum Example: Analyzing a raw audio stream using the FFTReal library.
-
Video Graphics Item Example: Streaming video on a graphics scene.
-
Video Widget Example: Implementing a video player widget.
Qt NFC▲
-
Annotated URL Example: An example showing reading from formatted NFC Data Exchange Format (NDEF) messages.
-
NDEF Editor Example: An example of reading and writing NFC Data Exchange Format (NDEF) messages to NFC Forum Tags.
Qt Network▲
-
Blocking Fortune Client Example: Demonstrates how to create a client for a network service.
-
Broadcast Receiver Example: Demonstrates how to receive information broadcasted over a local network.
-
Broadcast Sender Example: Demonstrates how to broadcast information to multiple clients on a local network.
-
DTLS client: This example demonstrates how to implement client-side DTLS connections.
-
DTLS server: This examples demonstrates how to implement a simple DTLS server.
-
Fortune Client Example: Demonstrates how to create a client for a network service.
-
Fortune Server Example: Demonstrates how to create a server for a network service.
-
Google Suggest Example: Obtains the list of search recommendations by the Google search engine.
-
HTTP Example: Demonstrates a simple HTTP client.
-
Loopback Example: Demonstrates the client-server communication on a local host.
-
Multicast Receiver Example: Demonstrates how to receive information sent to a multicast group.
-
Multicast Sender Example: Demonstrates how to send messages to a multicast group.
-
Network Chat Example: Demonstrates a stateful peer-to-peer Chat client.
-
Network Download Example: Demonstrates how to use networking APIs for multiple downloads.
-
Network Download Manager Example: Demonstrates how to use the networking APIs for multiple downloads.
-
Secure Socket Client Example: Demonstrates how to communicate over an encrypted (SSL) connection.
-
Threaded Fortune Server Example: The Threaded Fortune Server example shows how to create a server for a simple network service that uses threads to handle requests from different clients. It is intended to be run alongside the Fortune Client example.
-
Torrent Example: Demonstrates complex TCP/IP operations.
Qt Network Authorization▲
Qt OPC UA▲
-
Qt OPC UA Viewer Example: Using the model/view approach to display all nodes of an OPC UA server in a tree view.
-
Qt OPC UA X509 Support Example: Shows how to generate keys and certificate signing requests.
-
Qt Quick Waterpump Example: Interacting with an OPC UA server to build a QML-based HMI for a simple machine.
-
Waterpump Example: Interacting with an OPC UA server to build a QML-based HMI for a simple machine.
Qt OpenGL▲
-
2D Painting Example: The 2D Painting example shows how QPainter and QOpenGLWidget can be used together to display accelerated 2D graphics on supported hardware.
-
Cube OpenGL ES 2.0 example: The Cube OpenGL ES 2.0 example shows how to write mouse rotatable textured 3D cube using OpenGL ES 2.0 with Qt. It shows how to handle polygon geometries efficiently and how to write simple vertex and fragment shader for programmable graphics pipeline. In addition it shows how to use quaternions for representing 3D object orientation.
-
Hello GL2 Example: The Hello GL2 example demonstrates the basic use of the OpenGL-related classes provided with Qt.
-
Hello GLES3 Example: The Hello GLES3 example demonstrates easy, cross-platform usage of OpenGL ES 3.0 functions via QOpenGLExtraFunctions in an application that works identically on desktop platforms with OpenGL 3.3 and mobile/embedded devices with OpenGL ES 3.0.
-
OpenGL Window Example: This example shows how to create a minimal QWindow based application for the purpose of using OpenGL.
-
Textures Example: The Textures example demonstrates the use of Qt's image classes as textures in applications that use both OpenGL and Qt to display graphics.
Qt PDF▲
-
PDF Multipage Viewer Example: A Qt Quick PDF viewer that allows scrolling through the pages.
-
PDF Viewer Example: A widget-based PDF viewer that allows scrolling through the pages.
Qt Positioning▲
-
GeoFlickr (QML): The GeoFlickr example shows how to use the user's current position to fetch local content from a web service.
-
Log File Position Source (C++): Logfile Position Source shows how to create and work with a custom position source. It can be useful for simulating GPS data, or when the data is received in some custom format.
-
SatelliteInfo (C++/QML): The SatelliteInfo example shows the available satellites at the user's current position and marks the satellites currently contributing to the GPS fix as pink.
-
Weather Info (C++/QML): The 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 QML▲
-
C++ Extensions: Network Access Manager Factory Example: Implements a custom network access manager for the QML engine.
-
Extending QML - Adding Types Example: Exporting C++ Classes.
-
Extending QML - Attached Properties Example: Attached Properties.
-
Extending QML - Binding Example: Binding.
-
Extending QML - Default Property Example: Default Property.
-
Extending QML - Extension Objects Example: Extension Objects.
-
Extending QML - Grouped Properties Example: Grouped Properties.
-
Extending QML - Inheritance and Coercion Example: C++ Inheritance and Coercion.
-
Extending QML - Methods Example: Methods Support.
-
Extending QML - Object and List Property Types Example: Exporting C++ Properties.
-
Extending QML - Property Value Source Example: Property Value Source.
-
Extending QML - Signal Support Example: Signal Support.
-
QML Example - Dynamic Scene: This example demonstrates creating components dynamically.
-
QML Examples - Internationalization: This is an internationalization example.
-
QML Plugin Example: This example creates a C++ plugin extension by subclassing QQmlEngineExtensionPlugin.
-
Qt Quick Examples - XMLHttpRequest: This is a collection of XMLHttpRequest examples.
-
Writing QML Extensions with C++: Tutorial about extending QML with Qt C++.
Qt Quick▲
-
C++ Extensions: Image Provider Example: How to load images in QML with QQuickImageProvider.
-
C++ Extensions: Image Response Provider Example: How to load images asynchronously in QML.
-
Models and Views: AbstractItemModel Example: Shows how to use a QAbstractItemModel subclass as a model in QML.
-
Models and Views: Object ListModel Example: Shows how to use a QList<QObject*> as a model in QML.
-
Models and Views: String ListModel Example: Shows how to use a QStringList as a model in QML.
-
QML Advanced Tutorial 1 - Creating the Game Canvas and Blocks:
-
QML Dynamic View Ordering Tutorial 1 - A Simple ListView and Delegate:
-
QML Dynamic View Ordering Tutorial 3 - Moving Dragged Items:
-
QQuickRenderControl D3D11 Example: Shows how to render a Qt Quick scene into a texture that is then used by a non-Quick based Direct3D 11 renderer.
-
QQuickRenderControl OpenGL Example: Shows how to render a Qt Quick scene into a texture that is then used by a non-Quick based OpenGL renderer.
-
QQuickWidget - QQuickView Comparison Example: Demonstrates the benefits of QQuickWidget over a QQuickView embedded as a native window.
-
Qt Quick Examples - Accessibility: This example demonstrates the implementation of accessible buttons.
-
Qt Quick Examples - Animation: This is a collection of QML Animation examples.
-
Qt Quick Examples - Canvas: This is a collection of QML Canvas examples.
-
Qt Quick Examples - Drag and Drop: This is a collection of QML drag and drop examples.
-
Qt Quick Examples - Image Elements: This is a collection of QML examples relating to image types.
-
Qt Quick Examples - Key Interaction: This is a collection of QML keyboard interaction examples.
-
Qt Quick Examples - Local Storage: A collection of QML local storage examples.
-
Qt Quick Examples - MouseArea: This is an example of the MouseArea type in QML.
-
Qt Quick Examples - Positioners: This is a collection of QML Positioner examples.
-
Qt Quick Examples - Right to Left: This is a collection of QML Right to Left examples.
-
Qt Quick Examples - Shader Effects: A Qt Quick example demonstrating the use of shader effects.
-
Qt Quick Examples - Shapes: A Qt Quick example demonstrating the use of shape items.
-
Qt Quick Examples - Text: This is a collection of QML examples relating to text.
-
Qt Quick Examples - Threading: This is a collection of QML multithreading examples.
-
Qt Quick Examples - Touch Interaction: A collection of QML Touch Interaction examples.
-
Qt Quick Examples - Views: This is a collection of QML model-view examples.
-
Qt Quick Examples - Window and Screen: This example demonstrates the Window and Screen types in QML.
-
Qt Quick Examples - externaldraganddrop: This is an example of drag-and-drop among QML applications.
-
Qt Quick Layouts - Basic Example: Demonstrates how to use layout types to arrange a UI.
-
Qt Quick Particles Examples - Affectors: This is a collection of examples using Affectors in the QML particle system.
-
Qt Quick Particles Examples - Emitters: This is a collection of examples using Emitters in the QML particle system.
-
Qt Quick Particles Examples - Image Particles: This is a collection of examples using Affectors in the QML particle system.
-
Qt Quick Particles Examples - System: This is a collection of examples using Affectors in the QML particle system.
-
Qt Quick TableView examples - Conway’s Game of Life: The Conway’s Game of Life example shows how the QML TableView type can be used to display a C++ model that the user can pan around.
-
Qt Quick TableViews examples - Pixelator: The Pixelator example shows how a QML TableView and a delegate can be used for custom table models.
-
Qt Quick Widgets Example: Demonstrates how to mix QML with a Qt Widgets application using the QQuickWidget class.
-
Scene Graph - Custom Geometry: Shows how to implement a custom geometry in the Qt Quick Scene Graph.
-
Scene Graph - Custom Material: Shows how to implement a custom material in the Qt Quick Scene Graph.
-
Scene Graph - Direct3D 11 Under QML: Shows how to render directly with Direct3D 11 under a Qt Quick scene.
-
Scene Graph - Graph: Demonstrates how one can combine custom materials and geometries under a single QQuickItem.
-
Scene Graph - Metal Texture Import: Shows how to use a texture created directly with Metal.
-
Scene Graph - Metal Under QML: Shows how to render directly with Metal under a Qt Quick scene.
-
Scene Graph - OpenGL Under QML: Shows how to render OpenGL under a Qt Quick scene.
-
Scene Graph - Painted Item: Shows how to implement QPainter-based custom scenegraph items.
-
Scene Graph - Rendering FBOs: Shows how to use FramebufferObjects with Qt Quick.
-
Scene Graph - Two Texture Providers: Shows how to combine two textures from two texture providers in a custom scene graph node.
-
Scene Graph - Vulkan Texture Import: Shows how to use a texture created directly with use a texture created directly withulkan.
-
Scene Graph - Vulkan Under QML: Shows how to render directly with vulkan under a Qt Quick scene.
-
TabWidget Example: The TabWidget example shows how to create a tabwidget using property aliases and QML Object default properties.
-
Threaded ListModel Example: The Threaded ListModel example shows how to use a ListModel from multiple threads using WorkerScript.
-
UI Components: Dial Control Example: The Dial Control Example shows how to create a speedometer-type dial.
-
UI Components: Flipable Example: The Flipable Example shows an item that flips whenever clicked, rotating around the y-axis.
-
UI Components: Scroll Bar Example: The Scroll Bar Example shows how to use scroll bars on a flickable element.
Qt Quick 3D▲
-
Qt Quick 3D - Antialiasing Example: Demonstrates the antialiasing modes in Qt Quick 3D.
-
Qt Quick 3D - Baked Lightmap Example: Demonstrates the use of baked lightmaps in a 3D scene.
-
Qt Quick 3D - Custom Effect Example: Demonstrates writing custom post-processing effects.
-
Qt Quick 3D - Custom Geometry Example: Demonstrates providing custom vertex data from C++.
-
Qt Quick 3D - Custom Instanced Rendering: Demonstrates instancing with custom materials and a C++ instance table.
-
Qt Quick 3D - Custom Materials Example: Demonstrates writing shaded custom materials.
-
Qt Quick 3D - Custom Morphing Animation: Demonstrates writing C++ custom geometry with a morph target.
-
Qt Quick 3D - Custom Shaders Example: Demonstrates the use of custom vertex and fragment shaders.
-
Qt Quick 3D - Dynamic Model Creation Example: Demonstrates dynamic model creation.
-
Qt Quick 3D - Dynamic Texture Example: Demonstrates how to use a 2D layer as a 3D texture.
-
Qt Quick 3D - Effects Example: Demonstrates the built-in post-processing effects.
-
Qt Quick 3D - HelloCube Example: Demonstrates how to render 2D and 3D objects together in Qt Quick 3D.
-
Qt Quick 3D - Instanced Rendering Example: Demonstrates how to do instanced rendering in Qt Quick 3D.
-
Qt Quick 3D - Introduction: Demonstrates how to render a scene in Qt Quick 3D.
-
Qt Quick 3D - Lights Example: Demonstrates the use of different light types.
-
Qt Quick 3D - Morphing Example: Demonstrates how to control morphing animations in Qt Quick 3D.
-
Qt Quick 3D - Particles 3D Testbed Example: Demonstrates how to use the Qt Quick 3D Particles3D module.
-
Qt Quick 3D - Picking example: Demonstrates picking of models.
-
Qt Quick 3D - Principled Material Example: Demonstrates the use of Principled Material.
-
Qt Quick 3D - Procedural Texture Example: Demonstrates how to provide custom texture data from C++.
-
Qt Quick 3D - Quick Ball Example: Demonstrates how to create a simple game using Quick3D.
-
Qt Quick 3D - Quick Items Example: Demonstrates the use of Qt Quick Items in Quick 3D scene.
-
Qt Quick 3D - Reflection Probes Example: Demonstrates the use of reflection probes in Qt Quick 3D.
-
Qt Quick 3D - Robot Arm Example: Demonstrates how to add a C++ backend to a 3D project from Qt Design Studio.
-
Qt Quick 3D - RuntimeLoader Example: Demonstrates how assets can be loaded at runtime.
-
Qt Quick 3D - Screen Space Reflections Example: Demonstrates reflections in Qt Quick 3D.
-
Qt Quick 3D - Simple Skinning Example: Demonstrates how to render a simple skinning animation in Qt Quick 3D.
-
Qt Quick 3D - Sub-mesh Example: Demonstrates how assign materials to sub-meshes.
-
Qt Quick 3D - View3D Example: Demonstrates the use of View3D to show a scene from multiple cameras.
Qt Quick 3D Physics▲
-
Qt Quick 3D Physics - Cannon Example: Demonstrates how to spawn physical objects.
-
Qt Quick 3D Physics - Compound Shapes Example: Demonstrates using complex collision shapes.
-
Qt Quick 3D Physics - Custom Shapes Example: Demonstrates using different shapes.
-
Qt Quick 3D Physics - Impeller Example: Demonstrates using trigger bodies and collision info.
-
Qt Quick 3D Physics - Mass Example: Demonstrates different ways of setting mass and inertia of a body.
-
Qt Quick 3D Physics - Material Example: Demonstrates using physical materials.
-
Qt Quick 3D Physics - Simple Example: Demonstrates setting up a simple physics scene.
Qt Quick Controls▲
-
Qt Quick Controls - Chat Tutorial: Tutorial about writing a basic chat client using Qt Quick Controls.
-
Qt Quick Controls - Contact List: A QML app using Qt Quick Controls and a C++ class that implements a simple contact list.
-
Qt Quick Controls - Event Calendar: A simple event calendar.
-
Qt Quick Controls - Flat Style: A QML app using Qt Quick Controls and a QML plugin with customized controls.
-
Qt Quick Controls - Gallery: A gallery of controls.
-
Qt Quick Controls - Imagine Style Example: Automotive: An automotive user interface using custom Imagine style assets.
-
Qt Quick Controls - Imagine Style Example: Music Player: An audio player user interface using custom Imagine style assets.
-
Qt Quick Controls - Side Panel: A persistent side panel with Drawer.
-
Qt Quick Controls - Swipe to Remove: Demonstrates removal of list items by swipe gesture.
-
Qt Quick Controls - Text Editor: A QML app using Qt Quick Controls and a C++ class to provide a fully-functional rich-text editor application.
-
Qt Quick Controls - To Do List: To do list application for iOS.
-
Qt Quick Controls - Wearable Demo: Demonstrates an application launcher designed for wearable devices.
Qt Remote Objects▲
Qt SCXML▲
-
Qt SCXML Calculator Example: A widget-based application that implements the Calculator example presented in the SCXML Specification.
-
Qt SCXML Calculator QML Example: A Qt Quick application that implements the Calculator example presented in the SCXML Specification.
-
Qt SCXML FTP Client Example: Implements a simple FTP client using a state machine.
-
Qt SCXML Invoke Example (Dynamic): Invokes a dynamically loaded nested state machine.
-
Qt SCXML Invoke Example (Static): Invokes a compiled nested state machine.
-
Qt SCXML Media Player Example (Dynamic): A widget-based application that sends data to and receives it from a dynamically loaded ECMAScript data model.
-
Qt SCXML Media Player Example (Static): A widget-based application that sends data to and receives it from a compiled ECMAScript data model.
-
Qt SCXML Media Player QML Example (C++ Data Model): Sends data to and receives it from a C++ data model.
-
Qt SCXML Media Player QML Example (Dynamic): A Qt Quick application that sends data to and receives it from a dynamically loaded ECMAScript data model.
-
Qt SCXML Media Player QML Example (Static): A Qt Quick application that sends data to and receives it from a compiled ECMAScript data model.
-
Qt SCXML Pinball Example: Encapsulates the internal logic of an application in an SCXML file.
-
Qt SCXML Sudoku Example: Presents the use of SCXML in a sudoku game.
-
Qt SCXML Traffic Light Example (Dynamic): A widget-based application that uses a dynamically loaded state machine to implement a traffic light.
-
Qt SCXML Traffic Light Example (Static): A widget-based application that uses a compiled state machine to implement a traffic light.
-
Qt SCXML Traffic Light QML Example (Dynamic): A Qt Quick application that uses a dynamically loaded state machine to implement a traffic light.
-
Qt SCXML Traffic Light QML Example (Simple): A Qt Quick application that uses a compiled state machine to implement a simplified traffic light.
-
Qt SCXML Traffic Light QML Example (Static): A Qt Quick application that uses a compiled state machine to implement a traffic light.
Qt SQL▲
-
Books: Shows how to use Qt SQL classes with a model/view framework.
-
Cached Table Example: The Cached Table example shows how a table view can be used to access a database, caching any changes to the data until the user explicitly submits them using a push button.
-
Drill Down Example: The Drill Down example shows how to read data from a database as well as submit changes, using the QSqlRelationalTableModel and QDataWidgetMapper classes.
-
Master Detail Example: The Master Detail Example shows how to present data from different data sources in the same application. The album titles, and the corresponding artists and release dates, are kept in a database, while each album's tracks are stored in an XML file.
-
Query Model Example: The Query Model example shows how to make customized versions of data obtained from a SQL query, using a model that encapsulates the query and table views to display the results.
-
Relational Table Model Example: The Relational Table Model example shows how to use table views with a relational model to visualize the relations between items in a database.
-
SQL Browser: The SQL Browser example shows how a data browser can be used to visualize the results of SQL statements on a live database.
-
SQL Widget Mapper Example: The SQL Widget Mapper example shows how to use a map information from a database to widgets on a form.
-
Table Model Example: The Table Model example shows how to use a specialized SQL table model with table views to edit information in a database.
Qt SVG▲
Qt Sensors▲
-
Qt Sensors - Accel Bubble: The AccelBubble example demonstrates the Accelerometer QML type.
-
Qt Sensors - Explorer QML Example: Demonstrates how to read the meta-data of available sensors.
-
Qt Sensors - Grue Sensor Example: The Qt Sensors - Grue sensor example demonstrates all the steps from creating a new sensor to using it.
-
Qt Sensors - Maze QML Example: The Maze example demonstrates the TiltSensor QML type.
-
Qt Sensors - QML Example: The QtSensors - QML example demonstrates the QML sensors types in the QtSensors import.
-
Qt Sensors - Sensors Showcase: The Sensors Showcase example demonstrates sensor usage with visual examples.
Qt Serial Bus▲
-
CAN Bus example: The example sends and receives CAN bus frames.
-
Modbus Client example: The example implements a Modbus client application.
-
Modbus Custom command example: The example implements a Modbus client-server application.
-
Modbus Server example: The example implements a Modbus server application.
Qt Serial Port▲
-
Blocking Receiver Example: Shows how to use the synchronous API of QSerialPort in a non-GUI thread.
-
Blocking Sender Example: Shows how to use the synchronous API of QSerialPort in a worker thread.
-
Command Line Enumerator Example: Shows how to get information about serial devices in a system.
-
Command Line Reader Async Example: Shows how to receive data asynchronously over serial port.
-
Command Line Reader Sync Example: Shows how to receive data synchronously over serial port.
-
Command Line Writer Async Example: Shows how to send data asynchronously over serial port.
-
Command Line Writer Sync Example: Shows how to send data synchronously over serial port.
-
Enumerator Example: Shows how to display information about serial devices in a system.
-
Terminal Example: Shows how to use various features of QSerialPort.
Qt Spatial Audio▲
-
Spatial Audio Panning Example: Shows some of the capabilities of the spatial audio engine in Qt.
Qt State Machine▲
-
Animated Tiles Example: The Animated Tiles example animates items in a graphics scene.
-
Event Transitions Example: The Event Transitions example shows how to use event transitions, a feature of Qt State Machine Framework.
-
Factorial States Example: The Factorial States example shows how to use Qt State Machine Overview to calculate the factorial of an integer.
-
Move Blocks Example: The Move Blocks example shows how to animate items in a QGraphicsScene using a QStateMachine with a custom transition.
-
Pad Navigator Example: Demonstrates how to create animated user interface.
-
Ping Pong States Example: The Ping Pong States example shows how to use parallel states together with custom events and transitions in Qt State Machine Framework.
-
Rogue Example: The Rogue example shows how to use the Qt state machine for event handling.
-
States Example: The States example shows how to use the Qt state machine to play animations.
-
Stickman Example: The Stickman example shows how to animate transitions in a state machine to implement key frame animations.
-
Sub-Attaq: This example shows Qt's ability to combine the animation framework and the state machine framework to create a game.
-
Traffic Light Example: The Traffic Light example shows how to use Qt State Machine Overview to implement the control flow of a traffic light.
-
Two-way Button Example: The Two-way button example shows how to use Qt State Machine Framework to implement a simple state machine that toggles the current state when a button is clicked.
Qt Test▲
-
Chapter 1: Writing a Unit Test: How to write a unit test.
-
Chapter 2: Data Driven Testing: How to create data driven tests.
-
Chapter 3: Simulating GUI Events: Howe to simulate GUI events.
-
Chapter 4: Replaying GUI Events: How to replay GUI events.
-
Chapter 5: Writing a Benchmark: How to write a benchmark.
Qt TextToSpeech▲
-
Hello Speak Example: The Hello Speak example reads out user-provided text.
-
Quick Speech Example: The Quick Speech example reads out user-provided text.
Qt UI Tools▲
-
Multiple Inheritance Example: Using a form created with Qt Designer in an application.
-
Text Finder Example: Dynamically loading .ui files using QUiLoader.
Qt Virtual Keyboard▲
-
Qt Quick Virtual Keyboard - Basic Example: This is a basic QML example that uses the virtual keyboard.
Qt Wayland Compositor▲
-
Qt Wayland Compositor Examples - Custom Shell: Custom Shell shows how to implement a custom shell extension.
-
Qt Wayland Compositor Examples - IVI Compositor: IVI Compositor is an example that demonstrates how to use the IviApplication extension.
-
Qt Wayland Compositor Examples - Minimal QML: Minimal QML is a simple example that demonstrates how to write a Wayland compositor in QML.
-
Qt Wayland Compositor Examples - Multi Output: Multi Output is an example that demonstrates a compositor with multiple outputs.
-
Qt Wayland Compositor Examples - Multi Screen: Multi Screen is a desktop-style Wayland compositor for multiple screens.
-
Qt Wayland Compositor Examples - Overview Compositor: Overview Compositor shows how to switch between clients in a grid.
-
Qt Wayland Compositor Examples - Pure QML: Pure QML is an example that demonstrates how to write a Wayland compositor in pure QML.
-
Qt Wayland Compositor Examples - QtShell Compositor: QtShell Compositor shows how to use the QtShell shell extension.
-
Qt Wayland Compositor Examples - Server Side Decoration Compositor: Server Side Decoration Compositor is a simple example that demonstrates server side window decorations on xdg-shell.
-
Qt Wayland Compositor Examples - Spanning Screens: Spanning Screens is an example that demonstrates how to let Wayland clients span multiple screens.
Qt WebChannel▲
-
Qt WebChannel ChatClient HTML Example: A HTML/JavaScript client that communicates over a WebSocket with a QWebChannel server.
-
Qt WebChannel ChatClient QML Example: A QML client that communicates over a WebSocket with a QWebChannel server.
-
Qt WebChannel ChatServer Example: A simple chat server implemented using the QWebChannel C++ API.
-
Qt WebChannel Standalone Example: A simple chat between a server and a remote client running in a browser.
Qt WebEngine▲
-
WebEngine Action Example: A simple browser implemented using WebEngineActions.
-
WebEngine Content Manipulation Example: Demonstrates how to load and manipulate web content.
-
WebEngine Cookie Browser Example: A cookie browser based on Qt WebEngine Widgets.
-
WebEngine Lifecycle Example: Freezes and discards background tabs to reduce CPU and memory usage.
-
WebEngine Markdown Editor Example: Demonstrates how to integrate a web engine in a hybrid desktop application.
-
WebEngine Notifications Example: Demonstrates how to pass HTML5 web notifications to users.
-
WebEngine Qt Quick Custom Dialogs Example: Customizes UI elements of Qt WebEngine's dialogs.
-
WebEngine Qt Quick Custom Touch Handle Example: Shows custom touch handles upon touch selection events.
-
WebEngine Qt Quick Minimal Example: Displays a web page using the Qt Quick integration of Qt WebEngine.
-
WebEngine Quick Nano Browser: A web browser implemented using the WebEngineView QML type.
-
WebEngine Recipe Browser: A small hybrid application based on the WebEngineView QML type and Qt Quick Controls 2.
-
WebEngine StyleSheet Browser Example: Demonstrates how to inject CSS into web pages using user scripts.
-
WebEngine Widgets Client Certificate Example: A simple client certificate authentication scenario using Qt WebEngine and QSslServer.
-
WebEngine Widgets Html2Pdf Example: Converts web pages to PDF documents using Qt WebEngine.
-
WebEngine Widgets Maps Example: Demonstrates how to handle geolocation requests.
-
WebEngine Widgets Minimal Example: Displays a web page using Qt WebEngine Widgets.
-
WebEngine Widgets PrintMe Example: Demonstrates how to print web pages using Qt WebEngine Widgets.
-
WebEngine Widgets Simple Browser Example: A simple browser based on Qt WebEngine Widgets.
-
WebEngine Widgets Spellchecker Example: Integrates a spellchecker into a simple HTML form.
-
WebEngine Widgets Video Player Example: Displays full screen video using QWebEngineView.
-
WebEngine Widgets WebUI Example: Displays HTML over a custom scheme.
Qt WebSockets▲
-
Echo Client Example: Describes how to use the WebSocket API for creating a simple echo client.
-
Echo Server Example: Shows how to create a simple server application that sends back the messages it receives.
-
QML WebSocket Client Example: Explains how to program a QML WebSocket client example.
-
QML WebSocket Server Example: A simple example that shows how to use a QML WebSocketServer.
-
SSL Echo Client Example: Shows how to use the QWebSocket class to implement an echo client over a secure connection (wss).
-
SSL Echo Server Example: Shows how to use the QWebSocketServer class for implementing a simple echo server over secure sockets (wss).
-
Simple Chat Example: Shows how to use the QWebSocket and QWebSocketServer classes for creating a minimalistic chat application over the WebSocket protocol.
Qt WebView▲
-
Qt WebView Examples - Minibrowser: Minibrowser example demonstrates how to use the Qt WebView module with Qt Quick.
Qt Widgets▲
-
40000 Chips: Visualizes a huge graphic view scene with 40000 chip items.
-
Address Book Example: The address book example shows how to use proxy models to display different views onto data from a single model.
-
Affine Transformations: Demonstrates how affine transformations in QPainter works.
-
Analog Clock Example: The Analog Clock example shows how to draw the contents of a custom widget.
-
Anchor Layout Example: Demonstrates anchor layout in a graphics view scene.
-
Basic Drawing Example: The Basic Drawing example shows how to display basic graphics primitives in a variety of styles using the QPainter class.
-
Basic Graphics Layouts Example: Demonstrates how to create basic graphics layout.
-
Basic Layouts Example: Shows how to use the standard layout managers.
-
Basic Sort/Filter Model Example: The Basic Sort/Filter Model example illustrates how to use QSortFilterProxyModel to perform basic sorting and filtering.
-
Blur Picker Effect Example: Demonstrates how to apply graphical effects on items in the view.
-
Border Layout Example: Shows how to arrange child widgets along a border.
-
Calculator Example: The example shows how to use signals and slots to implement the functionality of a calculator widget, and how to use QGridLayout to place child widgets in a grid.
-
Calendar Example: The Calendar example shows how to create rich text content and display it using a rich text editor.
-
Calendar Widget Example: The Calendar Widget example shows use of QCalendarWidget.
-
Character Map Example: The Character Map example shows how to create a custom widget that can both display its own content and respond to user input.
-
Chart Example: The Chart example shows how to create a custom view for the model/view framework.
-
Class Wizard Example: The Class Wizard example shows how to implement linear wizards using QWizard.
-
Code Editor Example: The Code Editor example shows how to create a simple editor that has line numbers and that highlights the current line.
-
Colliding Mice Example: Demonstrates how to animate items on a graphics view.
-
Color Editor Factory Example: This example shows how to create an editor that can be used by a QItemDelegate.
-
Combo Widget Mapper Example: The Combo Widget Mapper example shows how to use a custom delegate to map information from a model to specific widgets on a form.
-
Completer Example: The Completer example shows how to provide string-completion facilities for an input widget based on data provided by a model.
-
Composition Modes: Demonstrates how Composition Modes work in QPainter.
-
Concentric Circles Example: Demonstrates the improved quality that antialiasing and floating point precision gives.
-
Custom Completer Example: The Custom Completer example shows how to provide string-completion facilities for an input widget based on data provided by a model. The completer pops up suggestions for possible words based on the first three characters input by the user and the user's choice of word is inserted into the TextEdit using QTextCursor.
-
Custom Sort/Filter Model Example: The Custom Sort/Filter Model example illustrates how to subclass QSortFilterProxyModel to perform advanced sorting and filtering.
-
Diagram Scene Example: Demonstrate how to use the Graphics View framework.
-
Digital Clock Example: The Digital Clock example shows how to use QLCDNumber to display a number with LCD-like digits.
-
Dir View Example: This example demonstrates the usage of a tree view, and smooth flicking on a touchscreen.
-
Dock Widgets Example: The Dock Widgets example shows how to add dock windows to an application. It also shows how to use Qt's rich text engine.
-
Drag and Drop Puzzle Example: The Drag and Drop Puzzle example demonstrates a way of using the drag and drop system with item view widgets.
-
Drag and Drop Robot Example: Demonstrates how to drag and drop items in a graphics view.
-
Draggable Icons Example: The Draggable Icons example shows how to drag and drop image data between widgets in the same application, and between different applications.
-
Draggable Text Example: Illustrates how to drag and drop text between widgets.
-
Drop Site Example: The example shows how to distinguish the various MIME formats available in a drag and drop operation.
-
Dynamic Layouts Example: Shows how to re-orient widgets in running applications.
-
Easing Curves Example: The Easing Curves example shows how to use easing curves to control the speed of an animation.
-
Echo Plugin Example: This example shows how to create a Qt plugin.
-
Editable Tree Model Example: This example shows how to implement a simple item-based tree model that can be used with other classes the model/view framework.
-
Elastic Nodes Example: Demonstrates how to interact with graphical items in a scene.
-
Elided Label Example: This example creates a widget similar to QLabel, that elides the last visible line, if the text is too long to fit the widget's geometry.
-
Embedded Dialogs: Demonstrates how to embed dialogs into a graphics view.
-
Extension Example: The Extension example shows how to add an extension to a QDialog using the QAbstractButton::toggled() signal and the QWidget::setVisible() slot.
-
Fade Message Effect Example: Demonstrates how to apply effects on items in the view.
-
Fetch More Example: The Fetch More example shows how to add items to an item view model on demand.
-
Find Files Example: A dialog for finding files in a specified folder.
-
Finger Paint Example: Shows the use of a touchscreen to make a simple painting application.
-
Flow Layout Example: Shows how to arrange widgets for different window sizes.
-
Font Sampler Example: The Font Sampler example shows how to preview and print multi-page documents.
-
Fridge Magnets Example: The Fridge Magnets example illustrates how to move around several types of MIME-encoded data with drag and drop.
-
Frozen Column Example: This example demonstrates how to freeze a column within a QTableView.
-
Getting Started Programming with Qt Widgets: A tutorial for Qt Widgets based notepad application.
-
Gradients: Shows how gradients can be used with QPainter.
-
Graphics View Flow Layout Example: Demonstrates flow layout on a graphics view scene.
-
Group Box Example: The Group Box example shows how to use the different kinds of group boxes in Qt.
-
I18N Example: The Internationalization (I18N) example demonstrates Qt's support for translated text. Developers can write the initial application text in one language, and translations can be provided later without any modifications to the code. It also demonstrates how to detect the system language settings and show the UI in the appropriate language.
-
Icons Example: The Icons example shows how QIcon can generate pixmaps reflecting an icon's state, mode and size.
-
Image Composition Example: Shows how composition modes work in QPainter.
-
Image Gestures Example: Demonstrates the use of simple gestures in a widget.
-
Image Viewer Example: The example shows how to combine QLabel and QScrollArea to display an image.
-
Interview: This example demonstrates the usage of the model/view framework.
-
Item Views Puzzle Example: The Puzzle example shows how to enable drag and drop with a custom model to allow items to be transferred between a view and another widget.
-
License Wizard Example: The License Wizard example shows how to implement complex wizards in Qt.
-
Line Edits Example: The Line Edits example demonstrates the many ways that QLineEdit can be used, and shows the effects of various properties and validators on the input and output supplied by the user.
-
MDI Example: The MDI example shows how to implement a Multiple Document Interface using Qt's QMdiArea class.
-
Main Window: The Main Window example shows Qt's extensive support for tool bars, dock windows, menus, and other standard application features.
-
Menus Example: The Menus example demonstrates how menus can be used in a main window application.
-
Mouse Button Tester: The 'Mouse Button Tester' example demonstrates how to reimplement mouse events within a custom class. You can also use this program to verify that Qt is actually receiving mouse events from your mouse.
-
Movie Example: The Movie example demonstrates how to use QMovie and QLabel to display animations.
-
Order Form Example: The Order Form example shows how to generate rich text documents by combining a simple template with data input by the user in a dialog.
-
Painter Paths Example: The Painter Paths example shows how painter paths can be used to beuild complex shapes for rendering.
-
Part 1 - Designing the User Interface: Describes how to code the user interface of the Address Book Example. This first part covers the design of the basic graphical user interface (GUI) for our address book application.
-
Part 2 - Adding Addresses: Describes the code for inserting records in the Address Book Example.
-
Part 3 - Navigating between Entries: Explains the code that enables navigating the contacts.
-
Part 4 - Editing and Removing Addresses: Explains how to add edit and remove functionality.
-
Part 5 - Adding a Find Function: Describes how to add a find function.
-
Part 6 - Loading and Saving: Describes how to add save and load functionality.
-
Part 7 - Additional Features: Describes how to export data in VCard format.
-
Path Stroking: The Path Stroking example shows various types of pens that can be used with QPainter.
-
Pinch Zoom Example: Shows how to recognize a gesture.
-
Pixelator Example: The Pixelator example shows how delegates can be used to customize the way that items are rendered in standard item views.
-
Plug & Paint Basic Tools Example: A plugin providing the basic tools for painting functionality.
-
Plug & Paint Example: Demonstrates how to extend Qt applications using plugins.
-
Plug & Paint Extra Filters Example: A plugin providing the extra filters.
-
QRegularExpression Example: The QRegularExpression example shows how regular expressions in Qt are applied to text by providing an environment in which new regular expressions can be created and tested on custom text strings.
-
Qt Widgets - Application Example: The Application example shows how to implement a standard widget application with menus, toolbars, and a status bar. The example itself is a simple text editor program built around QPlainTextEdit.
-
SDI Example: The SDI example shows how to create a Single Document Interface. It uses a number of top-level windows to display the contents of different text files.
-
Screenshot Example: The Screenshot example shows how to take a screenshot of the desktop.
-
Scribble Example: The Scribble example shows how to reimplement some of QWidget's event handlers to receive the events generated for the application's widgets.
-
Settings Editor Example: The Settings Editor example shows how Qt's standard settings support is used in an application by providing an editor that enables the user to view the settings for installed applications, and modify those that can be edited.
-
Shaped Clock Example: The Shaped Clock example shows how to apply a translucent background and a widget mask to a top-level widget to produce a shaped window.
-
Simple Anchor Layout Example: Demonstrates anchor layout on a graphics view scene.
-
Simple DOM Model Example: The Simple DOM Model example shows how an existing class can be adapted for use with the model/view framework.
-
Simple Tree Model Example: The Simple Tree Model example shows how to use a hierarchical model with Qt's standard view classes.
-
Simple Widget Mapper Example: The Simple Widget Mapper example shows how to use a widget mapper to display data from a model in a collection of widgets.
-
Sliders Example: The Sliders example shows how to use the different types of sliders available in Qt: QSlider, QScrollBar and QDial.
-
Spin Box Delegate Example: The Spin Box Delegate example shows how to create an editor for a custom delegate in the model/view framework by reusing a standard Qt editor widget.
-
Spin Boxes Example: The Spin Boxes example shows how to use the many different types of spin boxes available in Qt, from a simple QSpinBox widget to more complex editors like the QDateTimeEdit widget.
-
Spreadsheet: The Spreadsheet example shows how to create a simple spreadsheet application.
-
Standard Dialogs Example: The Standard Dialogs example shows the standard dialogs that are provided by Qt.
-
Star Delegate Example: The Star Delegate example shows how to create a delegate that can paint itself and that supports editing.
-
Style Plugin Example: This example shows how to create a plugin that extends Qt with a new GUI look and feel.
-
Style Sheet Example: The Style Sheet Example shows how to use style sheets.
-
Styles Example: The Styles example illustrates how to create custom widget drawing styles using Qt, and demonstrates Qt's predefined styles.
-
Syntax Highlighter Example: The Syntax Highlighter example shows how to perform simple syntax highlighting.
-
System Tray Icon Example: The System Tray Icon example shows how to add an icon with a menu and popup messages to a desktop environment's system tray.
-
Tab Dialog Example: The Tab Dialog example shows how to construct a tab dialog using the QTabWidget class.
-
Tablet Example: This example shows how to use a Wacom tablet in Qt applications.
-
Tetrix Example: The Tetrix example is a Qt version of the classic Tetrix game.
-
Text Edit: The Text Edit example shows Qt's rich text editing facilities in action.
-
Tool Tips Example: The Tool Tips example shows how to provide static and dynamic tool tips for an application's widgets.
-
Touch Dials Example: Shows how to apply touch to a set of standard Qt widgets.
-
Touch Knobs Example: Shows how to create custom controls that accept touch input.
-
Transformations Example: The Transformations example shows how transformations influence the way that QPainter renders graphics primitives.
-
Tree Model Completer Example: The Tree Model Completer example shows how to provide completion facilities for a hierarchical model, using a period as the separator to access Child, GrandChild and GrandGrandChild level objects.
-
Trivial Wizard Example: The Trivial Wizard example illustrates how to create a linear three-page registration wizard using three instances of QWizardPage and one instance of QWizard.
-
Undo Framework: This example shows Qt's undo framework in action.
-
Undo Framework Example: This example shows how to implement undo/redo functionality with the Qt undo framework.
-
Validators Example: The Validators example shows the signal emission behavior of input validators.
-
Vector Deformation: Demonstrates how to manipulate the elements of a QPainterPath.
-
Weather Anchor Layout Example: Demonstrates anchor layout on a graphics view scene.
-
Widgets Gallery Example: The Widgets Gallery example shows widgets relevant for designing UIs.
-
Wiggly Example: The Wiggly example shows how to animate a widget using QBasicTimer and timerEvent(). In addition, the example demonstrates how to use QFontMetrics to determine the size of text on screen.
-
Window Flags Example: The Window Flags example shows how to use the window flags available in Qt.
Qt XML▲
-
DOM Bookmarks Example: Provides a reader for XML Bookmark Exchange Language files.
-
QXmlStream Bookmarks Example: Demonstrates how to read and write to XBEL files.
-
XML Stream Lint Example: A commandline tool reading from an input file and writing to the standard output file.
Additional Information▲
The following table lists related documents, such as information about Trademarks and other licenses used in parts of Qt.
-
Android GNU C++ Run-time Licensing: Provides additional information about the licensing of run-time dependencies of Qt for Android
-
LLVM Attribution: University of Illinois/NCSA Open Source License, BSD licenses
-
License Changes: Information about changes of licenses in Qt and Third Party Modules
-
Macros for Building with CMake: BSD 3-clause "New" or "Revised" License
-
Mesa llvmpipe: MIT License
-
Notes about PDF Licensing: Details of restrictions on the use of PDF-related trademarks.
-
The QtEntryPoint Library: Commercial and BSD 3-clause "New" or "Revised" License.
-
Trademarks: Information about trademarks owned by The Qt Company.