Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Unable to get Inspect option in context menu in QWebEngineView.
I am using QT 5.9.1. I want to inspect the page which is loaded in my webengineview. Inspect is not enabled in my context menu. I have upgraded webengine from webview. In webview we do have a QWebSettings::DeveloperExtrasEnabled in which the inspect is enabled by default.
JonB last edited by JonB
That's because it's not there for
QWebEngineView! You can't assume everything that was in
QWebViewwill be in
Fortunately for you, https://stackoverflow.com/questions/28681141/qtwebengine-debugging offers a variety of solutions. The accepted answer there looks like you should be able to get what you want via an environment variable, or other answers are alternatives.
This post is deleted!
@JonB It worked, Thanks a lot!