Build with CMake
CMake
is a tool to simplify the build process for development projects across different platforms. CMake
automatically generates build systems, such as Makefiles and Ninja files.
CMake
is a third-party tool with its own documentation. This manual focuses on how to use CMake
to build Qt applications and libraries.
Table of Contents
- Getting started with CMake
- Building a QML application
- Building a reusable QML module
- Building projects on the command line
- Deployment
- Supported CMake versions
- Making Qt available in CMake projects
- Imported targets
- Qt CMake policies
- Qt 5 and Qt 6 compatibility
- CMake Command Reference
- CMake Variable Reference
- CMake Property Reference