QWebEngineView is very very very slow.
Following the advises from documentation I start to use QWebEngineView in my application. But the problem is that it's very slow. For example, loading Google main page takes up to 30 seconds. The code is very simple:
Another problem is that I can't clear the view. If I call `load()' I still see the old page until the loads (and in my case it takes very long time). I tried to set custom html before loading:
but it's ignored, I still see previous page.
McLion last edited by McLion
QWebView::load is specified to have this behavior. You get the QWebView::loadFinished() signal once it is done which gives you possibilty to display a progress bar or alike until you get this signal and are able to show the new view/page. You can even use QWebView::loadProgress() to scale the progress from 0 to 100.
Try to use setUrl() instead and see if this is what you are looking for.
Try disabling not-connected network devices, as suggested here: https://bugreports.qt.io/browse/QTBUG-44763t
Worked for me when running the FancyBrowser example code
SamurayH last edited by
After 3 years... Anyway switching from debug to release compiler solved the problem for me.
this advice solved my problem
Thank you very much.
Your advice solved my problem.
@SamurayH even in release mode,it is slow