[Webkit-unassigned] [Bug 114966] [Qt] QWebKitPlatformPlugin should export available Plugin interfaces

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 2 02:15:25 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114966





--- Comment #13 from Arunprasad Rajkumar <arurajku at cisco.com>  2013-05-02 02:13:47 PST ---
(In reply to comment #11)
> I admit I don't understand this change. Can you help me understand? :)
> 
> I'll explain the intentions of the current design first:
> 
> qwebkitplatformplugin.h declares a set of pure interfaces. There are no symbols meant to be defined and exported by QtWebKit.dll that correspond to this interface. Instead the Qt interface cast mechanism is mean to provide a type-safe cast to the initial instance (QWebKitPlatformPlugin) and its versioning mechanism (that works on the basis of string comparision) makes it safe.

Yes, I accept some of them are pure interfaces, but other interfaces like QWebSelectMethod has signals like selectItem, didHide; Its definition will be available in libQtWebKit.so, but it is not exported. In order to get the definition of those signals I have to _moc_ again & link the moc with my application.

> 
> The header file is designed to be _copied_ into a use-case (or platform) specific plugin project that is deployed together with QtWebKit on the target platform.

Why it has to be copied? It is already part of delivery(available as QtWebKit/QWebKitPlatformPlugin). So it should be usable as like other Qt plugin interfaces.

Intention of exporting interfaces is to use the signal definition which is already present in libQtWebKit.so and to pass _parent_ to plug-in.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list