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.
With Autotools, you can create a portable, complete, and self-contained GNU Build System from simple instructions. | |
CMake is an alternative to qmake for automating the generation of build systems. | |
Examples of supported CMake presets. | |
Summary of CMake Qt vendor presets. | |
Settings for building applications with the Conan package manager. | |
The experimental Conan plugin integrates the Conan package manager. | |
IncrediBuild decreases the time it takes to build C++ code. | |
Build and clean steps for Incredibuild. | |
Use Meson to build native desktop applications. | |
Settings for building applications with Meson. | |
The Nimble package manager uses the Nim compiler to generate Nim application executables for the desktop platforms. | |
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). | |
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.