Skip to content

Update Qt version for Mac Legacy build #3234

@softins

Description

@softins

What is the current behaviour and why should it be changed?

Currently, the Mac Legacy build uses Qt 5.9.9. It is then able to run on MacOS 10.10 (Yosemite) or later. There are some issues with this:

  • The automated build in the CI shows a lot of warnings with this version of Qt, although the build does succeed.
  • We want to remove the .qm translations files from the repo and have them only built by the Makefile, using the lrelease config entry in qmake. See Build: Generate qm files and embedded resource during build #2393.
  • The lrelease functionality in qmake is only available in Qt 5.12 or later.

Describe possible approaches

The compatibility matrix of Qt versions and minimum MacOS version is as follows:

Qt version Minimum MacOS
5.9 10.10 (Yosemite)
5.10 10.11 (El Capitan)
5.11 10.11
5.12 10.12 (Sierra)
5.13 10.12
5.14 10.13 (High Sierra)
5.15 10.13
6.0 10.14 (Mojave)
6.1 10.14
6.2 10.14
6.3 10.14
6.4 10.14
6.5 11 (Big Sur)
6.6 11

So if we updated the Mac Legacy build to Qt 5.12, we would support 10.12 Sierra onwards. If instead we updated to Qt 5.15, we would support 10.13 (High Sierra) onwards.

The main (non-legacy) MacOS build uses Qt 6.6.1 and therefore only supports MacOS 11 Big Sur or newer. I would expect there still to be demand for supporting at least 10.14 Mojave and 10.15 Catalina for a while yet, and so the Legacy release build is still worthwhile. My own Mac is running Catalina and currently fails to upgrade to Big Sur.

I would favour using Qt 5.15 and therefore dropping support for 10.12 Sierra and older.

Has this feature been discussed and generally agreed?

Not yet.

Metadata

Metadata

Assignees

Labels

toolingChanges to the automated build system

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions