Qt 5.4 beta Debugging WebEngineView

I am currently working on a VS2013 project that uses Qt 5.4. beta. I use QWebEngineView (which is part of Chromium-based QWebEngine), which loads Javascript / HTML pages from a web server.

I would like to know if there are javascript and HTML debugging capabilities for this QWebEngineView (or, more generally, QWebEngine).

I saw some concepts of "devtools" in the webengine source code, maybe this could be a solution.

+6
source share
1 answer

I duplicate my answer to the same question:

You can do this with the old QWebView, see QWebSettings :: DeveloperExtrasEnabled .

Documents have nothing to do with QWebEngineView, but I found a link (see line 47). I have not tried if it works, but you can try. Perhaps the dev tools will be available in one of the next versions of QT.

0
source

Source: https://habr.com/ru/post/978322/


All Articles