In which directories browser plugins (like Adobe Flash for example) are searched for on Linux? I don't want to use flash plugin globally, so I don't have libflashplayer.so in /usr/lib/mozilla/plugins. Where should I put this file in order only Dooble would use it?
According to Qt 4.7.4 documentation:
Netscape Plugin Support
Note: Netscape plugin support is only available on desktop platforms.
Since WebKit supports the Netscape Plugin API, Qt applications can display Web pages that embed common plugins on platforms for which those plugins are available. To enable plugin support, the user must have the appropriate binary files for those plugins installed and the QWebSettings::PluginsEnabled attribute must be enabled for the application.
The following locations are searched for plugins:
Linux/Unix (X11)
.mozilla/plugins in the user's home directory
.netscape/plugins in the user's home directory
System locations, such as
/usr/lib/browser/plugins
/usr/local/lib/mozilla/plugins
/usr/lib/firefox/plugins
/usr/lib64/browser-plugins
/usr/lib/browser-plugins
/usr/lib/mozilla/plugins
/usr/local/netscape/plugins
/opt/mozilla/plugins
/opt/mozilla/lib/plugins
/opt/netscape/plugins
/opt/netscape/communicator/plugins
/usr/lib/netscape/plugins
/usr/lib/netscape/plugins-libc5
/usr/lib/netscape/plugins-libc6
/usr/lib64/netscape/plugins
/usr/lib64/mozilla/plugins
Locations specified by environment variables:
$MOZILLA_HOME/plugins
$MOZ_PLUGIN_PATH
$QTWEBKIT_PLUGIN_PATH
Windows
The user's Application Data\Mozilla\plugins directory
Standard system locations of plugins for Quicktime, Flash, etc.
Mac OS X
Library/Internet Plug-Ins in the user's home directory
The system /Library/Internet Plug-Ins directory