Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 948836 (qt5-removal)

Summary: [TRACKER] Qt5 removal
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: CONFIRMED ---    
Severity: normal CC: gentoo
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://qa-reports.gentoo.org/output/genrdeps/rindex/dev-qt/qtcore
See Also: https://bugs.gentoo.org/show_bug.cgi?id=631788
https://bugs.gentoo.org/show_bug.cgi?id=953438
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 907118, 915779, 925718, 926654, 938881, 942035, 944962, 947299, 947619, 947620, 947622, 947626, 947629, 948051, 948063, 948064, 948460, 948619, 948747, 948975, 949018, 949019, 949021, 949025, 949076, 949079, 949231, 949634, 949683, 949714, 949881, 950282, 950302, 950474, 950750, 950751, 951484, 951571, 951572, 951849, 951875, 952816, 952935, 953029, 953258, 953259, 953260, 953261, 953262, 953263, 953380, 953383, 953384, 953641, 953885, 953888, 953925, 953991, 954003, 954005, 954006, 954145, 954153, 836649, 880043, 913683, 926166, 926352, 927073, 936636, 938825, 939729, 941199, 942178, 942921, 943181, 945575, 945757, 946113, 946126, 947239, 947324, 947393, 947408, 947614, 947621, 947631, 947634, 947649, 947723, 947724, 947725, 947740, 947787, 947894, 948000, 948002, 948003, 948004, 948005, 948007, 948008, 948009, 948011, 948013, 948015, 948016, 948052, 948583, 948586, 948828, 948833, 948916, 948917, 948970, 948971, 948974, 948977, 949089, 949090, 949206, 949589, 949838, 950109, 950251, 950386, 950958, 951058, 951059, 951063, 951137, 951139, 951573, 951852, 951876, 951936, 952936, 952939, 953264, 953909, 954154    
Bug Blocks: 682392    

Description Andreas Sturmlechner gentoo-dev 2025-01-25 21:08:45 UTC
Qt5 upstream OSS support ended on 2020-12-08. Since then, public availability of commercial 5.15 LTS releases is delayed by 1 year. That concerns anything they fix in their private 5.15 branch that is not a Qt6 fix and therefore backportable from public branches - backports, however, that also get more complex with every new Qt6 release.

> - Most of KDE projects have ported away to Qt6.
> - No other DE/WM based on Qt5 is left in ::gentoo to benefit from the option.
> - Therefore I do not plan to put any more time into Qt5 packaging, much less
>   backporting LTS fixes to KDE Qt repositories.
> - GCC, ICU, Python, ... may at any future release break Qt5, QtWebEngine in
>   particular.

Since our users build from source, Gentoo gets hit first with any build issues. That means we can't sit back and do nothing until a real showstopper arrives.


This tracker starts as a collection of tasks to port away from Qt5 while we still have time to:
- check, if Qt6 support exists and just waits to be enabled, maybe after a version bump
- for simple packages with qmake build system, check if s/eqmake5/eqmake6/ may works
- go upstream to inform about the need to port to Qt6 or ask about project status for slow-moving repositories
- collect patches from other distributions
- port it ourselves and submit it upstream ofc
Comment 2 Larry the Git Cow gentoo-dev 2025-01-28 23:28:08 UTC Comment hidden (obsolete)
Comment 4 Larry the Git Cow gentoo-dev 2025-03-06 08:56:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=454f20208208d20ce7d3ec82e82bb41dc032907f

commit 454f20208208d20ce7d3ec82e82bb41dc032907f
Author:     Matt Jolly <kangie@gentoo.org>
AuthorDate: 2025-03-06 08:41:31 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2025-03-06 08:56:00 +0000

    www-client/*: Chromium-based browsers: Drop the `qt5` USE
    
    The Chromium-based binary browsers (Chrome, Edge, Opera) ship binaries
    with a Qt5 shim for some dialogs (etc).
    
    Drop the USE, dependencies, and any related logic.
    
    Bug: https://bugs.gentoo.org/948836
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 ...140.0.ebuild => microsoft-edge-dev-135.0.3140.0-r1.ebuild} | 11 ++---------
 ...154.2.ebuild => microsoft-edge-dev-135.0.3154.2-r1.ebuild} | 11 ++---------
 ...154.3.ebuild => microsoft-edge-dev-135.0.3154.3-r1.ebuild} | 11 ++---------
 3 files changed, 6 insertions(+), 27 deletions(-)