On 17 April 2011 08:41, Lindsay Mathieson <[email protected]> wrote:
> For test purposes I'm trying to create a static plugin in
> QtTestBrowser. I got as far as successfully exporting/importing a
> QWebKitPlatformPlugin implementation and having it recognised, but
> when I try to implement my QWebSpellChecker interface I get the
> following errors.
Isn't that the way of it - spend two days trying to solve a problem,
post for help, then figure out the answer a few minutes later :)
Needed to add QWEBKIT_EXPORT to the interface declaration in
qwebkitplatformplugin.h:, ie.
class QWEBKIT_EXPORT QWebSpellChecker : public QObject {
Q_OBJECT
public:
virtual ~QWebSpellChecker() {}
virtual bool isInlineSpellCheckingEnabled() const = 0;
};
Which begs the question - the other interfaces in
qwebkitplatformplugin.h (QWebTouchModifier etc) will need that added
as well if they are to be usable in static plugins.
--
Lindsay
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt