Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118995

Dev tools not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.6.2, 6.7.0 FF
    • 6.6.0
    • WebEngine
    • None
    • Windows 10
    • Windows
    • 5558ce40b (dev), 4f93abe9b (6.6)

    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.

      Attachments

        For Gerrit Dashboard: QTBUG-118995
        # Subject Branch Project Status CR V

        Activity

          People

            anualiyas Anu Aliyas
            lola Katia Katia
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes