Building Qt Sources

There are two ways to install Qt:

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

You can download the Qt 5 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.

General Installation Information

Building Qt revolves around using 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

Universal Windows Platform (UWP)

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 Reference Configurations. 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.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.