path: root/cmake
diff options
authorAlexandru Croitor <>2020-03-09 16:34:54 +0100
committerAlexandru Croitor <>2020-03-10 07:33:37 +0100
commit1ef8470c805faf39e95ee8652cf473c231471eef (patch)
tree43109f3b733a27e336840897c915bafc11e89772 /cmake
parentf46c11989a36e221f89b4e7df2a3b2ec81e917a2 (diff)
CMake: Update the README regarding the minimum cmake version required
The minimum required CMake version to build Qt on any platform is 3.16.0 at the moment. That's the first version that ships the implementation-specific AutogenInfo.json files, which we parse to implement the Qt moc --collect-json functionality. Change-Id: I6160cd74fa228aa330f4c1e512ffb766afc5f8a3 Reviewed-by: Leander Beernaert <> Reviewed-by: Alexandru Croitor <>
Diffstat (limited to 'cmake')
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/ b/cmake/
index a5f26cefbb..a4509adb26 100644
--- a/cmake/
+++ b/cmake/
@@ -6,8 +6,7 @@ Other repositories are ported, but not under CI control yet.
Some libraries, tests and examples are still missing.
-You need CMake 3.15.0 or later for most platforms.
-You need CMake 3.16.0 to build Qt for iOS.
+You need CMake 3.16.0 or later for most platforms (due to new AUTOMOC json feature).
You need CMake 3.17.0 to build Qt for iOS with the simulator_and_device feature.
You need CMake 3.17.0 + Ninja to build Qt in debug_and_release mode on Windows / Linux.
You need CMake 3.18.0 + Ninja to build Qt on macOS in debug_and_release mode when using frameworks.