Browser Plugin
The QtBrowserPlugin solution is useful for implementing plugins for web browser.
The project provides a framework that makes it simple to export widgets and objects as plugins for web browsers supporting the Netscape LiveConnect APIs.
Supported web browsers are Netscape, Mozilla FireFox and Opera. Internet Explorer is supported when the plugin supports ActiveX via ActiveQt.
Required Libraries:
QtCore, QtGui
Please refer to the Qt Editions Comparison Chart for which Qt products include these libraries.
Documentation:
Guidelines:Classes:Examples:- A trivial "Hello, World" plugin.
- A webpage that combines javascript and the trivial plugin.
- A plugin widget displaying a data file as a graph.
Tested on:
- Qt 4.3, 4.4 / Windows XP, Vista / MSVC.NET 2005
- [experimental] Qt 4.3, 4.4 / Linux / gcc
- [experimental] Qt 4.3, 4.4 / MacOS X / gcc
Download Commercial Edition:
Only available for Qt Solutions license holders with a valid Support and Maintenance agreement (authentication required).Download Open Source Edition (GPL):
Changes:
- 2.3: For Qt 4.4, support for using a namespaced Qt build to avoid symbol clash with other instances of Qt in the browser.
- 2.3: Fixed default mimeTypes() implementations. Makes it work with Opera 9.50 on Linux.
- 2.3: Fixed bug where QtBrowserPlugin could not change properties on sub-objects.
- 2.3: Be more selective in setting plugin widget's autofillbackground to true - Avoids conflict with OpenGL.
- 2.3: Support default and QVariant-type parameters in script binding.
- 2.2: Fix compilation and potential stability problem on 64 bit architectures.
- 2.2: Fix crash when calling slots with multiple arguments of different types from script.
- 2.1: Add experimental support for Mac (Safari) and Linux (Firefox).
- 2.1: Implement scripting support.
- 2.1: Support of shortcut keys in the plugin (Windows only)
- 2.1: Documentation updates.