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

QWebEngine seems somehow unable to load custom url scheme

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.9.4
    • WebEngine
    • None
    • OS : Fedora 27 64bits

      QT : Fedora package (5.9.4)

      QTCreator install from official download installer.

      See attached minimal project.

       

      I'm trying to handle custom url scheme (ie "zim") with QWebEngine using a QWebEngineUrlSchemeHandler and a QWebEngineUrlRequestInterceptor to force use of "zim" scheme.

       

      When loading a url with `page()->load(QUrl("zim://foo.zim"));`, it seems to work but further request (include browsing) are not working, the page url is set to "about:blank".

       

      When loading a url with `page()->load(QUrl("http://foo.zim")`, everything works properly.

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

            viengelm Viktor Engelmann
            mgautierfr mgautierfr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes