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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 2 03:51:28 PDT 2013


--- Comment #14 from Simon Hausmann <hausmann at webkit.org>  2013-05-02 03:49:50 PST ---
(In reply to comment #13)
> (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.

The problem with exporting symbols is that then they are subject to binary compatibility constraints. The pure interface approach doesn't require that. (Is adding the copied header file to HEADERS so that moc runs again very difficult?)

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