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.

  • i'm using :
    QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
    QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptEnabled, true);
    QWebSettings::globalSettings()->setAttribute(QWebSettings::AutoLoadImages, true);

    try it , but may need something more .

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.