[QGIS-Developer] [Qgis-psc] How to handle upstream Qt fixes

Richard Duivenvoorde rdmailings at duif.net
Sat Sep 4 00:56:39 PDT 2021


On 9/4/21 8:45 AM, Ludovic Hirlimann wrote:
> On 9/3/21 00:46, Nyall Dawson wrote:
>> Hi PSC, devs,
>>
>> I'd like to kick start some discussion on how best to handle the
>> situation with upstream Qt and their (lack of) support for Qt 5. As a
>> quick summary of the situation:
>>
>> - Qt Co effectively ended open source support of Qt 5 at the 5.15.2
>> release, and have moved all focus to Qt 6.
>> - While some preliminary work has been done, QGIS doesn't currently
>> support Qt 6 based builds, and likely won't be ready for this for some
>> time (even completely ignoring all the stable API questions a Qt 6
>> build raises entirely!)
> 
> Wouldn't it be wiser to devote resources to moving to QT6 and do that faster than
> 
> wait on potential unsuported 5x fixes ?

That was also my thought, though no clue about the amount of work for it.

But my argument against deciding to use a patched/forked qt5 would be that (UNLESS all our development platforms could more or less easily/package/use it), it could potentially break our (little?) "I'm not a core dev, but I compile QGIS myself" group. 

My experience (with Linux users at least), is that with some guidance the average Debian/Ubuntu user is able to compile/run QGIS itself, IF all dependencies are taken care of by the distro's.
When people have to fiddle with LD_LIBRARY paths, my guess is they will break...
Off course that is 'my bubble', and I'm not even sure about the size of the group, and if they/we are helpful at all etc etc.

Maybe it's time for another 'big gap' in QGIS releases? As in: after 3.22 (LTR) there will be a probably not so stable 4.0 which will have a thorough api cleanup (first), while maybe partially trying to do some pre-work for Qt6? And so hopefully we will have Qt6 packaged more easily at that time?

Mmm, checking Qt6 availability on Debian (testing; so also upcoming Ubuntu?).... it does not seem to be available easily yet (as in 'packaged' for my distro, though as 'maintainers' I see " Debian Qt/KDE Maintainers" [0] ). So my argument just vanished, at least on short term.

What is the Qt6 status in Fedora or Suse?

Glad to see Riverbank at least has PyQt6 already.. (and yes I'm aware Qt now also has bindings itself :-) )

Anyway, thanks Nyall for this forward thinking, but ... hard decisions to make. ...

May the QGIS Force be with us...,

Richard Duivenvoorde

[0] https://tracker.debian.org/pkg/qtbase-opensource-src


More information about the QGIS-Developer mailing list