Details
Description
I'm trying to access the DevTools, but its not working, a reproducible example:
#include <QWebEngineView> int main(int argc, char* argv[]) { QApplication app(argc, argv); qputenv("QTWEBENGINE_REMOTE_DEBUGGING", "23654"); QWebEngineView* view = new QWebEngineView; view->page()->setUrl(QUrl("http://www.google.com")); view->show(); return app.exec(); }
When i launch the app i can see on console:
Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:23654
When i visit http://localhost:23654/ in any browser, "Inspectable pages" shows the google page, however when I click on it:
Debugging connection was closed. reason: websocket disconnected.
I have tried with different links/port, same issue.
I'm testing on QtWebEngine source 6.6.0 from date 19-Oct-2023, on Windows 10.