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

When QWebEngine reload, qt and qt.webChannelTransport is undefined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.7.0
    • Fix Version/s: None
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      5.7 msvc2013 32bit, win10 64bit

      Description

      First time load page, the `typeof qt` return 'object', when I use `location.reload()` or `location.href='xxx.html'`, `typeof qt` is undefine. I use 5.6 is ok.
      I just want to use QWebChannel to let js communicate with qt.

        Attachments

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

          Activity

            People

            • Assignee:
              qt_webengine_team Qt WebEngine Team
              Reporter:
              tylerhu Hitao Hu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes