Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125085

Add a way to launch a browser without using QDesktopService::openUrl()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P1: Critical
    • None
    • None
    • Core: Other, GUI: Other
    • None

    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

        For Gerrit Dashboard: QTBUG-125085
        # Subject Branch Project Status CR V

        Activity

          People

            mmutz Marc Mutz
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change