Build systems

When you create projects, you can choose the build system to use for building the project: CMake, qmake, Meson, or Qbs.

qmake is installed and configured when you install Qt. To use one of the other supported build systems, you need to set it up.

Build configurations have everything you need to compile the sources into binaries. Build configurations use the tools and settings defined in their corresponding kit.

Autotools

With Autotools, you can create a portable, complete, and self-contained GNU Build System from simple instructions.

CMake

CMake is an alternative to qmake for automating the generation of build systems.

CMake Presets

Examples of supported CMake presets.

CMake Qt Vendor Presets

Summary of CMake Qt vendor presets.

Conan Build Configuration

Settings for building applications with the Conan package manager.

Conan Package Manager

The experimental Conan plugin integrates the Conan package manager.

IncrediBuild

IncrediBuild decreases the time it takes to build C++ code.

IncrediBuild Build Configuration

Build and clean steps for Incredibuild.

Meson

Use Meson to build native desktop applications.

Meson Build Configuration

Settings for building applications with Meson.

Nimble

The Nimble package manager uses the Nim compiler to generate Nim application executables for the desktop platforms.

Qbs

Qbs is an all-in-one build tool that generates a build graph from a high-level project description (like qmake or CMake do) and executes the commands in the low-level build graph (like make does).

Qbs Build Configuration

Settings for building applications with Qbs.

See also How to: Build and Run, Building and running projects, and Managing kits.

Copyright © The Qt Company Ltd. and other contributors. 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.