[Qt-interest] Adding new plugins path in QTWebKit

Garth Dahlstrom ironstorm at gmail.com
Mon Mar 8 17:44:45 CET 2010


Hi Zaid, 

You can try setting QTWEBKIT_PLUGIN_PATH in your environment (it should take multiple paths, colon delimited), this variable is  mentioned in Qt 4.6's WebKit sources @ /src/3rdparty/webkit/WebCore/plugins/PluginDatabase.cpp around line 383.   I've not tried it, so I'm not sure how well it works.    Alternatively, you could add your path to that block of plugin directories above that, but that would require rebuilding QtWebkit.

Cheers,

-G

Garth Dahlstrom @ 2Keys Corp
=================================================================
Currently looking for freelance QtWebKit / WebKit / C++ coders to enhance / debug 
WebKit Bug #33044 -- "Add Java Applet support to Qt's Webkit Port" 
(https://bugs.webkit.org/show_bug.cgi?id=33044)
Bug me.
=================================================================

On 2010-03-08, at 3:48 AM, "Zaid Amir" wrote:

> I was wondering if there was a way to add a plugins path to the default
> paths that webkit searches when finding plugins. I couldn't find any in the
> QT assistant so I was wondering if it is actually possible to do such a
> thing. I am very curious about this since I'm developing an application GUI
> that requires an np* plugin that I have created.
> 
> I don't want my plugin to be installed in the firefox's default plugins
> directory, but it seems that this is the only way that I can make it work.
> 
> Any suggestions.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100308/feafaf2e/attachment.html 


More information about the Qt-interest-old mailing list