Skip to content

Enable building with Qt6

Beyß, Martin requested to merge qt6 into develop

Qt5 is officially no longer supported. Although KDE provides backported patches. The changes required for Qt6 are minimal.

There is a cmake option QT_VERSION, which can be set to QT5 or QT6 (the default). With Qt5 being still available in Ubuntu 23.04 (i.e. two years after the end of support), with qt6 we should be set for the next years.

required packages are:

  • qt6-base-dev
  • qt6-tools-dev
  • qt6-webengine-dev
  • qt6-webengine-dev-tools
  • libqt6webenginecore6-bin
  • libqt6svg6-dev
  • libgl1-mesa-dev
  • possibly libglx-dev

For the CI pipeline, we can only try the qt5 variant for now

Before merging, review MR !23 (merged)

Edited by Beyß, Martin

Merge request reports