Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install a plugin for QtWebKit

I am running a Qt 4.5 commercial snapshot and want to use a plugin that I downloaded (it's a .so file) in my QWebView. Is there a specific location where I need to place this file? Can I grab it using the QWebPluginFactory?

like image 357
Clayton Avatar asked Aug 20 '08 21:08

Clayton


2 Answers

I am assuming the plugin here is the NPAPI plugin (e.g. Flash). Under X11, QtWebKit search several common directories for the plugin. For the complete list, see the documentation on Netscape plugin support.

In addition to that, you must enable plugin support via QWebSettings::. See the documentation for WebAttribute::::PluginsEnabled, either globally or for your particular QWebView only.

like image 163
Ariya Hidayat Avatar answered Nov 06 '22 21:11

Ariya Hidayat


If you're a commercial client you should be demanding your money earned support directly from the trolltech(nokia) guys.

like image 40
shoosh Avatar answered Nov 06 '22 23:11

shoosh