Qt 4.8: Tutorials

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

Qt Examples

# Tutorials

A collection of tutorials and walkthrough guides are provided with Qt to help new users get started with Qt development. These documents cover a range of topics, from basic use of widgets to step-by-step tutorials that show how an application is put together.

For demonstrations on how to use different Qt technologies, visit the Qt Examples page.

## Qt Creator Tutorial

Qt Creator is the development environment for Qt.

- Qt Creator Manual - The manual contains information on how to achieve development tasks These are excerpts from the manual:
  - Creating Qt Projects in Creator
  - Developing Qt Quick Applications with Creator
  - Building and Running Applications in Creator
  - Debugging Applications in Creator
  - Publishing Applications to Ovi Store

## Qt Essentials

The basic concepts and technologies in Qt are introduced in these essential tutorials.

- Qt Text Editor - A simple tutorial detailing the creation of a basic Qt application Introduces the use of slots and signals, file operations, and widgets.
- Address Book - A beginner's guide to widgets, container classes, and layouts. This tutorial is also available with French version.

- ModelView - This tutorial gives an introduction to ModelView programming using the Qt cross-platform framework
- Threads - A short tutorial about thread concepts in general and basic Qt classes to handle threads

## Qt Quick Essentials

Qt Quick and QML features are covered in several tutorials, ranging from easy introductions to advanced tutorials that mix QML with C++ and JavaScript.

- Hello World - A very simple QML example that demonstrates the basic QML features
- QML Text Editor - An intermediate QML tutorial that covers many QML features such as states, plugins, and C++ development
- SameGame - A walkthrough of creating a simple game using QML for the interface and JavaScript for the game logic

## QtWebKit

- QtWebKit Guide - An introductory guide to the features of QtWebKit and HTML5.
  - CSS Chapter - Covers what is possible with CSS3 and QtWebKit.
  - HTML5 Canvas Chapter - Covers the basics of integrating the <canvas> element into web applications.
  - Client Storage Chapter - Describes the basics of storing information on the client side.

## Qt Utilities

- QTestLib - This tutorial gives a short introduction to how to use some of the features of Qt's unit-testing framework, QTestLib. It is divided into four chapters.
- qmake - This tutorial teaches you how to use `qmake`. We recommend that you read the qmake user guide after completing this tutorial.
- Qt Linguist - A guided tour through the translations process, explaining the tools provided for developers, translators and release managers.

## Online Learning Materials

These online materials provide further tutorials and developer presentations.

Note: The videos presented in these sites are not supported by the Qt Creator browser and must be viewed in a web browser.

- Qt eLearning - The Qt eLearning team provides training and Qt certification. Many of their learning content are hosted online.
  - Qt eLearning Training Materials - Additional training material are available as videos, downloadable code, and PDF files.
  - Qt Developer Days 2010 - The presentation slides and videos from Qt Developer Days are available for viewing.

Qt Examples