Created attachment 926842 [details] qgis ebuild with qt5 support (-qt6) qt5 use flags have been removed but upstream QGIS has not yet released a version that supports QT6. Using gentoo repo ebuilds, I can build with QT6 since QGIS 3.36 but 3.36, 3.38, and 3.40 all crash constantly when built with QT6(open a processing tool = QGIS crash; group graphics in a layout = QGIS crash, and others). I currently run QGIS 3.40.5, ebuild from a local repo, with QT5. Not perfect but this is stable enough that I use it almost every day and it is stable enough to get work done (I'll attach my ebuild). I can't complete work with QT6 builds. To build this, I now have: - local repo copies of pyqt5 (location, positioning and sensor USE flags removed 2025-02-13) and qscintilla (qt5 support dropped 2025-02-19) - mask override for qt3d (now masked in profile) - local use flags: /etc/portage/package.use/qgis:sci-geosciences/qgis 3d grass pdal postgres python opencl -qt6 /etc/portage/package.use/qgis:>=dev-python/pyqt5-5.15.11 positioning designer sql serialport I know QT5 is end of life and understand the desire to remove it but QGIS, which I use every day, still requires it. They have announced QT6 support for QGIS 4.0 (initial release October 2025 and available in the LTR release February 2026). https://blog.qgis.org/2025/04/17/qgis-is-moving-to-qt6-and-launching-qgis-4-0/
(In reply to Glenn Brauen from comment #0) > Created attachment 926842 [details] > qgis ebuild with qt5 support (-qt6) > > qt5 use flags have been removed but upstream QGIS has not yet released a > version that supports QT6. Using gentoo repo ebuilds, I can build with QT6 > since QGIS 3.36 but 3.36, 3.38, and 3.40 all crash constantly when built > with QT6(open a processing tool = QGIS crash; group graphics in a layout = > QGIS crash, and others). Seeing some backtraces would be helpful for this, so we can track relevant upstream bugs.
Would you be able to try the -9999 version? If you join #gentoo-science we might be able to assist easier. Sadly the sci-geo project has no members so we are just drive by fixing the packages as best as we can.
Thanks. I can try the -9999 build but it will take me a few days to find time to build and test.
I'm wondering how bad it can really be (or how small its userbase is) when this is the first report of its kind. That's why we need backtraces. And emerge --info, the bare minimum for such bug reports, is also missing.
...it appears that at least Debian, Fedora and Arch Linux still have it use Qt5 though.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56184a7b65b1f0a1213d56c1c853175399c50b57 commit 56184a7b65b1f0a1213d56c1c853175399c50b57 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2025-04-28 21:26:56 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2025-04-28 21:47:34 +0000 sci-geosciences/qgis: add 3.42.2 It is probably not worse than current stable. Bug: https://bugs.gentoo.org/955031 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> sci-geosciences/qgis/Manifest | 1 + .../qgis/files/qgis-3.42.2-testReportDir.patch | 13 + sci-geosciences/qgis/qgis-3.42.2.ebuild | 466 +++++++++++++++++++++ 3 files changed, 480 insertions(+)
(In reply to Andreas Sturmlechner from comment #4) > I'm wondering how bad it can really be (or how small its userbase is) when > this is the first report of its kind. > > That's why we need backtraces. > > And emerge --info, the bare minimum for such bug reports, is also missing. I'll get backtraces and provide emerge --info when I get back to this, probably later this week.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9afad0c77a877009f94bf6a67f1a83895706bf4 commit e9afad0c77a877009f94bf6a67f1a83895706bf4 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2025-04-28 22:07:59 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2025-04-28 22:15:00 +0000 sci-geosciences/qgis: drop 3.38.3-r1 Bug: https://bugs.gentoo.org/955031 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> sci-geosciences/qgis/Manifest | 1 - .../files/qgis-3.36.3-qt6-Fix-broken-test.patch | 29 - sci-geosciences/qgis/files/qgis-3.36.3-qt6.patch | 42 -- .../qgis/files/qgis-3.36.3-testReportDir.patch | 13 - sci-geosciences/qgis/qgis-3.38.3-r1.ebuild | 586 --------------------- 5 files changed, 671 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=091efa699c49d590a83a628b397182ba1648af6f commit 091efa699c49d590a83a628b397182ba1648af6f Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2025-04-28 22:07:06 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2025-04-28 22:14:59 +0000 profiles: Mask ~sci-geosciences/qgis-3.38.3 for destabilisation Bug: https://bugs.gentoo.org/955031 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)