Reputation: 6271
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
?
Upvotes: 7
Views: 7690
Reputation: 12561
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.
Upvotes: 9
Reputation: 14941
Have you tried looking around in /usr/lib/qt4/plugins/ or somewhere similar yet? I suppose that path will probably be where you have your 4.5 snapshot stuff compiled, but it should have options for putting in plugins for various things.
Upvotes: 0
Reputation: 78914
If you're a commercial client you should be demanding your money earned support directly from the trolltech(nokia) guys.
Upvotes: 2
Reputation: 78488
Have you tried putting in the standard library directories? It should be picked up by the linker if it's in one of those directories.
For example:
/lib/
/usr/lib/
/usr/share/lib/
/usr/local/lib/
Upvotes: 0