Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Is there any possible way to add devtools for QWebEngine?
Forum Update on Tuesday, May 27th 2025

Is there any possible way to add devtools for QWebEngine?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hzqst
    wrote on 25 Apr 2017, 02:42 last edited by hzqst
    #1

    I am not able to access url "chrome-devtools://devtools/bundled/inspector.html" in QWebEngineView, It shows error page with ERR_UNKNOWN_URL_SCHEME, is there any idea to open that url? I am going to debug node.js with chrome inspector
    ps: I found that browser support devtools(F12) such as NW.js SDK can access "chrome-devtools://", while QWebEngine don't support.
    Is there any possible way to add devtools for QWebEngine?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tujiaw
      wrote on 25 Apr 2017, 09:17 last edited by
      #2

      add code:
      qputenv("QTWEBENGINE_REMOTE_DEBUGGING", QByteArray::number(9000))

      chrome visit:
      localhost:9000

      1 Reply Last reply
      1

      1/2

      25 Apr 2017, 02:42

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved