[QGIS-Developer] qgis4 segfaults with qt6 6.11.0, ok with 6.10.2
Richard Duivenvoorde
rdmailings at duif.net
Wed May 13 03:23:51 PDT 2026
I've succesfully compiled and ran QGIS4 with Qt 6.9.2 and 6.10.2 as those are available in Debian Testing.
The Flathub build is also on Qt 6.10: https://github.com/flathub/org.qgis.qgis/blob/master/org.qgis.qgis.json
Qt 6.11 is not packaged so much apparently?
Not sure what is used for the Osgeo4W builds?
Maybe you are the first one to hit an issue?
I think I've heard there were some issues with opening older project files in QGIS4, but as Qt6.10 is working that is probably not the issue here?
Can you create an issue maybe, preferably with a gdb trace on a debug build? Hopefully core devs have a clue then?
Regards,
Richard Duivenvoorde
On 5/12/26 00:12, Greg Troxel via QGIS-Developer wrote:
> Yesterday I wrote that starting up qgis 4.0.2(+18 commits) (from
> pkgsrc-wip/qgis) resulted in a crash. It turns out the thing that
> matters for crash vs works is not qgis version, but qt6 version.
>
> (This is all about qgis 4, because qgis 3.44 uses qt5 (and both qgis 3.44
> and qt5 are apparently stable).)
>
> This is all on NetBSD 10 amd64.
>
> QGIS QT RESULT
> 4.0.0 6.10.2 works
> 4.0.2 6.10.2 works
> 4.0.0 6.11.0 crashes on opening project file
> 4.0.2 6.11.0 crashes on opening project file
>
> Have other people tried to run qgis, or other complicated qt programs
> built against qt6 6.11.0? It looks to me like 6.11.0 redid a bunch of
> things and I'm guessing they broke things. But there could be a latent
> bug in qgis.
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the QGIS-Developer
mailing list