PDA

View Full Version : QWebEngineView doesn't work on Linux



Rin_asdfghjkl
19th February 2019, 04:27
I tried to display some webpage using QWebEngineView on Linux as it is working fine on windows. It builds perfectly, no error, but the page didn't show up. No page at all, just a blank widget where the page should be loaded. I don't know what's wrong since it's working perfectly on windows.


QWebEngineView view;
QUrl("webpagelink");
view.load(url);
view.show();

What seems to be the problem? or do I have something to considered first about qwebengine on Linux? Please help

anda_skoa
19th February 2019, 15:02
What have you tried in terms of debugging so far?

Did you check if the loadStarted() signal has been emitted?
Did you check if the loadFinished() signal has been emitted?
Did you check if the renderProcessTerminated() signals got emitted?
Is there any warning or other log output in the terminal when you start the application from the shell?

Cheers,
_