Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131169

Bump minimum CMake version to build and use Qt 6.9 to CMake 3.21 or higher for all platforms

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • None
    • None
    • Build System: CMake
    • None
    • 572a313bb (dev), 79a6660ec (6.8), 5803af38a (dev), df7091d9f (dev), d14addfd4 (dev), d28a99f5f (6.8), 1afae8953 (dev), ffef92033 (dev), 32d895a2a (6.9), dcd057a31 (dev), ff596bfac (6.9)

    Description

      Based on the supported development hosts at https://bugreports.qt.io/browse/QTBUG-130440

      All the linux distros there ship at least cmake 3.21.

      Short summary of the shipped cmakes from official distro repos:

      rhel   8.10, ships 3.26.5, which is our current official packaging distro
      rhel   9.2 , ships 3.20.2
      rhel   9.4 , ships 3.26.5
      debian 11.6  ships 3.24 on Coin CI, on pkgs.org it says it's 3.18, but the debian 11-backports repo has 3.25 https://packages.debian.org/bullseye-backports/cmake
      debian 12 ships 3.25.1, backports has 3.30 https://packages.debian.org/bookworm-backports/cmake
      debian sid ships 3.31.0
      opensuse 15.5 ship 3.20 which is in Coin, but opensuse 15.6 has 3.28.3.
      suse enterprise is similar to opensuse
      ubuntu 22.04 has 3.22.x
      ubuntu 24.04 has 3.28.3
      

      So the easiest will be to bump the minimum for both building and using Qt to CMake 3.21.

      Potentially we could aim higher to the lowest common version on the linux side.

      We will also need to update documentation for supported platforms at https://doc-snapshots.qt.io/qt6-dev/supported-platforms.html#linux-x11
      and likely other locations that mention the cmake version used.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity