The MiniBrowser example project does not display websites/content in Qt 5.15.0.
Solved
QtWebEngine
-
I am facing an issue with WebView. I have run all the example projects related to WebView in Qt 5.15.0, and while the website URL loads successfully, the content is not displayed.
-
@hemang_1711 Why don't you try with a more recent version? At least Qt 5.15.2 or even Qt 6.8.2
And please provide more details: on which platform? -
@jsulm I have also run it in Qt 5.15.2, but the issue remains. I can try up to version 5.15.6, as that is my requirement.
-
Solved this issue by Disabling the sandbox .
Added this in main.cpp:
// Disable the sandbox before initializing QtWebEngine qputenv("QTWEBENGINE_DISABLE_SANDBOX", "1");
Disabling the sandbox allows the content to display successfully.
-