[Development] Raising minimum CMake version to 3.16 for Qt6

Scott Bloom scott at towel42.com
Thu May 6 00:16:12 CEST 2021

One thing to consider here.

Visual Studio is now shipping CMake, its also getting updated for patches of a given version of VS, and is not the same from VS 2019 or VS 2017

I know of a couple of teams that are using the VS version of CMake on windows to alleviate the need for another install/setup app


-----Original Message-----
From: Development <development-bounces at qt-project.org> On Behalf Of Thiago Macieira
Sent: Wednesday, May 5, 2021 14:28
To: development at qt-project.org
Subject: Re: [Development] Raising minimum CMake version to 3.16 for Qt6

On Wednesday, 5 May 2021 13:52:52 PDT Kyle Edwards via Development wrote:
> CMake upstream here. We recommend always using the very latest patch 
> version of CMake, since it is backwards compatible and can 
> (theoretically, bugs notwithstanding) build CMake projects written for 
> any earlier version of CMake. You are correct that upgrading CMake is 
> generally easy, though it admittedly may not be feasible if you insist 
> on sticking with the version provided by the distro (though we do 
> provide Ubuntu .deb builds of the latest version.)

Hello Kyle

Always using the latest is a good recommendation. The question is the minimum we can reasonably require the users to have installed. Upgrading is easy, but it's not as way as "$PKGCOMMAND install cmake" (where PKGCOMMAND is apt-get, zypper, dnf, yum, opkg, whatever), so requiring a version higher than the one users are likely to have creates a barrier for entry.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering

Development mailing list
Development at qt-project.org

More information about the Development mailing list