title: Qt5 WebKit not detecting NPAPI plugin
body: <pre><code>#include "mainwindow.h"
  #include &lt;QApplication&gt;
  #include &lt;QtWebKit&gt;
  #include &lt;QWebView&gt;
  
  int main(int argc, char *argv[])
  {
      QApplication a(argc, argv);
      QWebView *view = new QWebView();
      QWebSettings::PluginsEnabled;
      view-&gt;load(QUrl("http://www.paulirish.com/demo/multi"));
  
      view-&gt;show();
  
      return a.exec();
  }
  </code></pre>
  
  <p>I am trying to load a plugin in QtWebkit Webview but it isnt being loaded. I couldnt find the right path as mentioned <a href="http://qt-project.org/doc/qt-5.0/qtwebkit/qtwebkitwidgets-index.html#netscape-plugin-support" rel="nofollow">Here</a>, but it isnt loading. I have added Env. Variable QTWEBKIT_PLUGIN_PATH to System Variable &amp; MOZ_PLUGIN_PATH was already in user variable, added by Foxit Reader. I tried placing the plugin dll file on both the directories corresponding to the Env. Variables but it isnt loading the plugin. After i palced the plugin in Moz_plugin_path, firefox was able to detect the plugin. </p>
  
  <p>As for enabling the plugin in QTWebview i have tried using</p>
  
  <p>QWebSettings::PluginsEnabled;</p>
  
  <p>QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled,true);</p>
  
  <p>view->page()->settings()->PluginsEnabled;</p>
  
  <p>but found success with none of them, I am using Windows 8.1 and Qt 5.2</p>