Technorati 标签:
Qt webkit 插件 播放flash
QtWebkit支持传统的Netscape Plugin,要求先允许插件支持,该选项是:
QWebSettings::PluginsEnabled
然后Qt就会在以下路径中查找插件:
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