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

QDesktopServices::setUrlHandler() not working on iOS

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS, Windows

    Description

      On the latest version 6.8.1 QDesktopServices::setUrlHandler() no longer works.  The problem is in qiosapplicationdelegate.mm.  The existing code uses openURL from the UIApplicationDelegate.  It seems that Qt now sets up a scene based application.  As a result, the openURL function never gets called.

      The fix for this is to use openURLContext from the UISceneDelegate.  In qiosapplicationdelegate.mm it already implements willConnectToSession.  It just needs to implement this new function as well.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            lsturtevant Lorne Sturtevant
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes