[Development] Reduce usage of Qt private API
Tor Arne Vestbø
Tor.arne.Vestbo at qt.io
Tue Sep 23 17:31:02 CEST 2025
On 23 Sep 2025, at 17:20, Vlad Zahorodnii <vlad.zahorodnii at kde.org> wrote:
On 9/23/25 5:59 PM, Tor Arne Vestbø wrote:
If you want the simple solution, then a module in KDE that exposes or copies the private QX11Info class as public API would be the way to go AFAICT. That would mean only that single KDE module needs a rebuild from Jan for the private API use, right?
We may need to juggle some dependencies around due to the design of KF (I haven't look at it in detail though), but yeah, that could work. Still, it feels like something that Qt should help users with. :)
Great! If you want to argue the latter case, then that includes the normal process of justifying use-cases and discussing API design that comes with adding/exposing new APIs in Qt :) If that’s seen as too disruptive or laborious, then the former solution is probably the best.
Cheers,
Tor Arne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250923/f81849b1/attachment.htm>
More information about the Development
mailing list