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

About QWebEngineView Crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.13.0 RC 3
    • WebEngine
    • None
    • vs2017 + Qt5.13.0 MSVC 64
    • Windows

    Description

      When I create QWebEngineView via Py script call in my Qt application, setUrl() will crash. But when my program starts, I do the same thing as the script, and QWebEngineView works well!

      This is my script:
      auto webview = new QWebEngineView(this);
      webview->setUrl("http://xx.com");
      webview->show();

      The difference is that the calling time is different. Called when the program starts, it works well, and after the program starts, it will crash.

       So I have to call it at the beginning of the program

      try

      { auto webview = new QWebEngineView(this); webview->setUrl("http://xx.com"); webview->resize(0,0); delete webview }

      catch(...)

      { ... }

       

      so that my program can work properly

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            kit stl dong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes