Results 1 to 2 of 2

Thread: QtWebkit and JavaScript error messages

  1. #1
    Join Date
    Jun 2008
    Posts
    24
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QtWebkit and JavaScript error messages

    Can I somehow get JavaScript error messages in the console? Or does QtWebkit output messages to the console if there are error in JavaScript execution? Can I use javaScriptConsoleMessage() function from QWebPage?

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QtWebkit and JavaScript error messages

    Overloading this function might do it: http://doc.trolltech.com/4.5/qwebpag...ConsoleMessage , but you will have to print the actual messages to the console yourself.

Similar Threads

  1. QTWebKit, out of control Javascript CPU usage
    By Dkamerad in forum Qt Programming
    Replies: 2
    Last Post: 12th December 2014, 06:01
  2. add custom HTML attribute by javascript in QtWebKit
    By sand.fj.wen in forum Qt Programming
    Replies: 3
    Last Post: 17th April 2009, 08:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.