Building Qt Sources

There are two ways to install Qt:

  1. through the Qt Installers - downloads and installs Qt
  2. through the Qt sources

Note: Add the Qt build directory to the list of excluded directories of any anti-virus application that runs on your system.

You can download the Qt installers and sources from the Downloads page. For more information, visit the Getting Started with Qt page.

This page lists the relevant information for installing Qt by building the Qt sources. The installation procedure is different on each Qt platform. This page collects the relevant information for the supported platforms. In addition, this page provides links to any module-specific system requirements.

General Installation Information

To build Qt from source, use configure to configure Qt for a particular platform with a particular set of Qt features or modules. For more information, visit the following page:

Windows

macOS

Linux/X11

Embedded Linux

Android

iOS

Module-specific System Requirements

Additional Information

The top-level qt5 Git repository contains a set of build instructions in the form of provisioning scripts, used by Qt's continuous integration (CI) system to build and test the Supported Platforms. These scripts are useful for anyone building Qt from source, as they provide information on the tools and components that are required for each configuration.