Best Practice Guides

These documents provide guidelines and best practices for using Qt to solve specific technical problems. They are listed alphabetically by the first word in the title, so scan the entire list to find what you want.

Creating Custom Qt Types

How to create and register new types with Qt.

Timers

How to use Qt timers in your application.

Using Qt D-Bus Adaptors

How to create and use DBus adaptors in Qt.

Creating and Using Components for Qt Designer

How to create and use custom widget plugins.

Coordinate System

Information about the coordinate system used by the paint system.

Rich Text Processing

An overview of Qt's rich text processing, editing and display features.

Qt Test Tutorial

A short introduction to testing with Qt Test.

Books about GUI Design

Some recommended books about GUI design.

Accessibility

How to make your applications accessible to those with disabilities.

Accessibility for Qt Quick Applications

How to make your applications accessible to those with disabilities.

Desktop Integration

Integrating with the user's desktop environment.

Standard Accelerator Keys

Recommended accelerator keys.

Setting the Application Icon

How to set your application's icon.

Exception Safety

A guide to exception safety in Qt.

Restoring a Window's Geometry

How to save & restore window geometry.

Session Management

How to do session management with Qt.

Creating Shared Libraries

How to create shared libraries.

Calling Qt Functions From Unix Signal Handlers

You can't. But don't despair, there is a way...

Implementing Atomic Operations

A guide to implementing atomic operations on new architectures.