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. Debugging
QtWS25 Last Chance

Debugging

Scheduled Pinned Locked Moved QtWebEngine
2 Posts 2 Posters 1.3k 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.
  • W Offline
    W Offline
    whitecastleroad
    wrote on last edited by
    #1

    In QtWebKit, we could use:
    @
    webView()->page()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
    @
    to enable the debugging/developer tools. Is there any such think with WebEngine? Any other method to route Javascript console messages to Qt Creator? We have an app that works fine in Chrome and fails badly in WebEngine. I have no clue how to debug it without access to the javascript console.

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      Looking at the source "here":https://qt.gitorious.org/qt/qtwebengine/source/ca30d0374020752d3ac367fdffef88a5c1fe4a48:src/webengine/api/qquickwebengineview.cpp#L599, it seems that it is still an experimental feature which means it will not be available currently in WebEngineView.
      To try out those features you can try importing experimental module
      @
      import QtWebEngine.experimental 1.0
      @

      but note that these are still under development and the behavior may be erratic.
      To follow this development you can ask the question on "Interest Mailing List":http://lists.qt-project.org/mailman/listinfo/interest, you might get an answer directly from the Qt developers. You will need to subscribe to the list first.

      157

      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