From 1ef8470c805faf39e95ee8652cf473c231471eef Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 9 Mar 2020 16:34:54 +0100 Subject: 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 --- cmake/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/README.md b/cmake/README.md index a5f26cefbb..a4509adb26 100644 --- a/cmake/README.md +++ b/cmake/README.md @@ -6,8 +6,7 @@ Other repositories are ported, but not under CI control yet. Some libraries, tests and examples are still missing. Note: -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. -- cgit v1.2.3