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. Unable to get Inspect option in context menu in QWebEngineView.
Forum Updated to NodeBB v4.3 + New Features

Unable to get Inspect option in context menu in QWebEngineView.

Scheduled Pinned Locked Moved Solved QtWebEngine
4 Posts 2 Posters 1.1k Views 1 Watching
  • 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
    Hetal
    wrote on last edited by
    #1

    I am using QT 5.9.1. I want to inspect the page which is loaded in my webengineview. Inspect is not enabled in my context menu. I have upgraded webengine from webview. In webview we do have a QWebSettings::DeveloperExtrasEnabled in which the inspect is enabled by default.

    Thanks.

    JonBJ 1 Reply Last reply
    0
    • H Hetal

      I am using QT 5.9.1. I want to inspect the page which is loaded in my webengineview. Inspect is not enabled in my context menu. I have upgraded webengine from webview. In webview we do have a QWebSettings::DeveloperExtrasEnabled in which the inspect is enabled by default.

      Thanks.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Hetal
      That's because it's not there for QWebEngineView! You can't assume everything that was in QWebView will be in QWebEngineView.

      Fortunately for you, https://stackoverflow.com/questions/28681141/qtwebengine-debugging offers a variety of solutions. The accepted answer there looks like you should be able to get what you want via an environment variable, or other answers are alternatives.

      H 2 Replies Last reply
      2
      • JonBJ JonB

        @Hetal
        That's because it's not there for QWebEngineView! You can't assume everything that was in QWebView will be in QWebEngineView.

        Fortunately for you, https://stackoverflow.com/questions/28681141/qtwebengine-debugging offers a variety of solutions. The accepted answer there looks like you should be able to get what you want via an environment variable, or other answers are alternatives.

        H Offline
        H Offline
        Hetal
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • JonBJ JonB

          @Hetal
          That's because it's not there for QWebEngineView! You can't assume everything that was in QWebView will be in QWebEngineView.

          Fortunately for you, https://stackoverflow.com/questions/28681141/qtwebengine-debugging offers a variety of solutions. The accepted answer there looks like you should be able to get what you want via an environment variable, or other answers are alternatives.

          H Offline
          H Offline
          Hetal
          wrote on last edited by
          #4

          @JonB It worked, Thanks a lot!

          1 Reply Last reply
          0

          • Login

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