May 23, 2012

Ashish Mittal Ashish Mittal
Ant Farmer
151 posts

How to catch Plugin errors in QWebView

 

I am using QWebView to load websites which has adobe flash(e.g. youtube videos). so that QWebView interacts with Adobe flash player plugin already installed in my machine, but in case if there is any error occured within plugin , then how to catch it in QWebView? so that at least I can display some error message to my user to take some further action.

1 reply

May 29, 2012

francomartins francomartins
Ant Farmer
65 posts

i’m using :

  1. QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
  2. QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptEnabled, true);
  3. QWebSettings::globalSettings()->setAttribute(QWebSettings::AutoLoadImages, true);


try it , but may need something more .

 
  ‹‹ Qt Webkit - Browser Interaction issue [SOLVED]      -webkit-mask-box-image not working with -webkit-transform: rotate(90deg) ››

You must log in to post a reply. Not a member yet? Register here!