OpenMS / OpenMS

The codebase of the OpenMS project
https://www.openms.de
Other
478 stars 318 forks source link

Update to Qt6 #6252

Open jpfeuffer opened 2 years ago

jpfeuffer commented 2 years ago

Qt5.15 LTS is only for commercial customers. If we are lucky and Qt stays generous, they will release them open source 1 year after commercial release but I don't want to bet on it. This includes bug fixes as well as support for newer OSes and architectures (looking at you, macOS).

But most package managers have Qt6 already as default. I think it is time to make the switch.

cbielow commented 2 years ago

Please wait for https://github.com/OpenMS/OpenMS/pull/6139 to be merged. Its almost done and touches many parts of GUI. Not sure how intrusive the transition is, but resolving merge conflicts would certainly not be fun.

jpfeuffer commented 9 months ago

PortingGuide https://doc.qt.io/qt-6/portingguide.html

There is even a porting tool https://doc.qt.io/qt-6/porting-to-qt6-using-clazy.html

jpfeuffer commented 9 months ago

@poshul FYI

jpfeuffer commented 9 months ago

I dont expect there to be a lot of dev time for this.

jpfeuffer commented 9 months ago

This will be the main issue: https://doc.qt.io/qt-6/opengl-changes-qt6.html

cbielow commented 5 months ago

It seems the current Qt binary installer does not offer Qt5 anymore. It is possible to download prebuild Qt5 dev libs from elsewhere (thirdparty Github sites), but we should not rely on this. So currently the only stable way is to build Qt5 from sources on Windows. Yet another reason to switch to Qt6