This is the code which embeds webkit inside a widget. Only problem is plugins not loaded. there are qwebobjectplugin.cpp and qobjectpluginconnector.cpp files in API of webkit. But I don't know how to use these two files and classes inside it to enable plugin.

Qt Code:
  1. #include <qwebpage.h>
  2. #include <qwebframe.h>
  3. #include <qwebsettings.h>
  4. .
  5. .
  6. .
  7. QWebSettings settings = QWebSettings::global();
  8. settings.setAttribute(QWebSettings::PluginsEnabled);
  9. QWebSettings::setGlobal(settings);
  10. QUrl url("http://www.yahoo.com");
  11. page= new QWebPage(this);
  12. page->open(url);
  13. show();
To copy to clipboard, switch view to plain text mode 
Kindly help if there is a way to include plugin. I can provide the code for qwebobjectplugin.cpp and qobjectpluginconnector.cpp .