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?

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 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 last edited by
      #2

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

      chrome visit:
      localhost:9000

      1 Reply Last reply
      1

      • Login

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