Results 1 to 4 of 4

Thread: Closing QWebEngineView (QtWebEngineProcess.exe)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2017
    Posts
    11
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Closing QWebEngineView (QtWebEngineProcess.exe)

    Seems like i found the culprite. It would seem that deleting the QWebEngineView wasn't enough, because the QWebEngineView generates a QWebEnginePage.

    I would assume that closing the view would close the page aswell, but wouldn't seem so... The fix was to get the page (or initlize as a page) and close that then the view.

    I've been running this for about 40 minutes now without any problems.

  2. #2
    Join Date
    May 2017
    Posts
    11
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Closing QWebEngineView (QtWebEngineProcess.exe)

    Scratch that, it broke, however it does seem more stable now.

  3. #3
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    17
    Thanked 90 Times in 88 Posts

    Default Re: Closing QWebEngineView (QtWebEngineProcess.exe)

    Migrating from Qt5.7 to Qt5.12 and from MSVC2015 to MSVC2017 we ran into a similar situation, where QWebEngineProcess.exes would stay open after our application closed. It turned out, we did not properly specify the parent for our custom page for it to be autodeleted with the view on destruction! Hope this helps someone to avoid some debugging :-)

Similar Threads

  1. QtWebEngineProcess shared libraries
    By tkd-alex in forum Qt Programming
    Replies: 0
    Last Post: 5th May 2016, 15:54
  2. QWebEngineView LocalStorage
    By brixel in forum Qt Programming
    Replies: 4
    Last Post: 28th April 2016, 12:05
  3. How to know when a QWebEngineView has properly loaded?
    By domusmaximus in forum Qt Programming
    Replies: 0
    Last Post: 17th January 2016, 19:10
  4. How to set QWebEngineView on QQuickView
    By ejoshva in forum Newbie
    Replies: 112
    Last Post: 11th July 2015, 10:07
  5. Loading QDeclarativeView in QWebEngineView
    By ejoshva in forum Newbie
    Replies: 8
    Last Post: 7th May 2015, 10:38

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.