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

- Qt 6.8
- Build with CMake
- Supported CMake versions
- Qt 6.8.3 Reference Documentation

Deployment ◦ Imported targets

# 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.16`.

When targeting the following platforms, you need to use CMake version `3.21.1` or newer:

- static builds of Qt
- Apple platforms (Qt for macOS, Qt for iOS)
- Qt for WebAssembly

Deployment ◦ Imported targets