Supported CMake versions | Build with CMake | Qt 6.12.0
Description: Provides an overview of supported CMake versions.

- Qt 6.12
- Build with CMake
- Supported CMake versions
- Qt 6.12.0 Reference Documentation

Deployment ◦ Making Qt available in CMake projects

# Supported CMake versions

`cmake_minimum_required()` specifies the minimum CMake version that is required to successfully configure a project. It also updates the CMake Policy Settings of the project, which control various aspects of CMake's backwards compatibility behavior.

Qt projects are required to set version `3.16` or newer in the `cmake_minimum_required` command to ensure a working set of policy behaviors.

The actual version of CMake that should be used to configure the project also depends on the target platform. For most target platforms, it is `3.25`.

Deployment ◦ Making Qt available in CMake projects