Developer Guides
NOTE: As of 2014-10-04, these guides are old and no longer maintained. Use the official examples instead:
Qt Developer Guides
Welcome to the Qt Developer Guides page. These guides and tutorials are meant to inform you about the various aspects of application development, by walking you through the development process for applications that has features relevant to the topics discussed in each guide. Each guide is split into several chapters consisting multiple steps. Each step describes specific features of the application, the development approach, and detailed code used for the application being implemented.
Help us help you
We would appreciate any feedback or comments from you that can help us improve the content of these guides. To provide your feedback, create a bug on the 'Documentation' component in the Qt Bug Tracker.
If you have ideas or suggestions and would like to contribute to the guides, consider starting your work on the Learning Guides repository
Introduction to Application Development with Qt Quick
This tutorial explains the basics of developing applications with Qt Quick by providing a code walkthrough of complete applications. The tutorial extends the standard Qt Quick documentation provided in Qt and relies on it as a source of more detailed information about Qt Quick APIs and fundamental concepts.
This tutorial is thought to provide in-depth content as a prerequisite for those of you who are new to Qt Quick. Even though it starts with the basics, you must be familiar with principles of programming to follow the guide. Basic knowledge of JavaScript is highly recommended. After completing this tutorial, you should be able to write your own Qt Quick applications and start discovering more by reading advanced materials or analyzing the code of complex applications.
Download this guide in your preferred format: ePub PDF Qt Help
Download the source code of the examples discussed in the guide: Example
Qt Quick Application Developer Guide for Desktop
Qt Quick Application Developer Guide for Desktop guides you through the entire process of developing a feature-rich application that you can deploy onto various desktop platforms. This guide walks you through the implementation of a simple application called, NoteApp, inspired by the modern fluid UIs. NoteApp is a tool for managing daily notes. It uses various advanced UI concepts including animations, database storage, and JavaScript usage for application logic rather than common well-known UI Elements used in desktop applications, such as toolbars, menus, and dialogs.
Download this guide in your preferred format: ePub PDF Qt Help
Download the source code of the application discussed in the guide:
Qt Quick Painting using Canvas Item
The goal of this tutorial provides the best programming practices about using the Canvas Item in Qt Quick 2.0 as part of Qt 5. A prerequisite to this guide is to have a solid understanding of the QML language, so we recommend you to get the QML basics right by reading the Qt Quick 2 documentation. Throughout this tutorial, we’ll walk you through various aspects and examples of Qt Quick 2.0 Painting API with Canvas. References to other information sources are provided to make it easy for you to deepen your understanding about the API.
Download this guide in your preferred format: ePub PDF Qt Help
Download the source code of the examples discussed in the tutorial: Example
Particles and Graphics Effects in Qt Quick 2
The goal of this tutorial is to introduce you to some of the features of Qt Quick 2 for implementing animations and graphical effects. Mainly, this tutorial provides an overview of how to use the Particles module in Qt Quick 2 as well as ShaderEffects for advanced graphical effects.
Download this guide in your preferred format: ePub PDF Qt Help
Download the source code of the examples discussed in the guide: Example
Developing an arcade game with Qt3D
This guide will walk you through the creation of a small 3D arcade game using QML. Besides the developement process of a game in Qt Quick, it will show you how to create and use 3D content in your application. This tutorial provides an overview of the Qt3D QML API and will show you how to efficiently use its elements in your Qt Quick program.
Note: Qt 3D is not part of the Qt 5 binary package. You must build Qt 3D from its source if you want to try out the game application discussed in this guide.
Download this guide in your preferred format: ePub PDF Qt Help
Download the source code of the examples discussed in the guide: Source Code
Qt OpenGL Tutorial
This tutorial provides a basic introduction to OpenGL and 3D computer graphics in general. It shows how to make use of Qt and its OpenGL-related classes to create 3D graphics by using the OpenGL's programmable pipeline. The tutorial provides many examples that go through the basic features of OpenGL programming, such as rendering, texture mapping, lighting, and so on. By the end of this tutorial, you will have a good understanding of how OpenGL works and you will also be able to write custom shader programs.
Download this guide in your preferred format: ePub PDF Qt Help
Download the source code of the examples discussed in the guide: