Details
-
Suggestion
-
Resolution: Unresolved
-
P1: Critical
-
None
-
None
-
None
-
8
-
Foundation PM Prioritized, Foundation Sprint 107
Description
The QDesktopServices namespace has traditionally been in QtGui, because, well, you need a desktop to use its services. And, on a more pragmatic level, because the platform integration doesn't exist in QtCore, only at the QtGui level.
But protocols like OAuth that require applications to launch the system browser call for the availability of this function also for CLI programs, without the need to link to a 10MiB Gui library just to execute xdg-open <url> for them.
So, try to move the existing classes to QtCore and either leave the platform-helper-backed implementations as just another (QtGui-provided) handler registered with QtCore or move the relevant implementation (as a plug-in?) into QtCore, too.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-125085 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
560255,1 | QAbstractOAuth: prepare for OAuth flows requiring QDesktopServices | dev | qt/qtnetworkauth | Status: NEW | 0 | 0 |