NPAPI Plugin in QtWebKit

I know that it is possible to integrate NPAPI plugins with QtWebKit, since it has been supported since the release of Qt 4.5.

My question is whether I should go and develop my plugin according to the Mozilla / Gecko doc. This is probably the only available / reliable documentation for NPAPI next to some really old book called Netscape Plug-in Programming - or does Qt handle NPAPI plugins differently?

+3
source share
3 answers

Moving with Mozillas and other documentation such as a colonel textbook will be fine. You can also take a look at the source of FireBreaths , because we have already solved some common problems there.

QtWebKit actually wraps WebKit, and I don’t remember that there are any real differences between Mozilla and WebKit. Of course, you should handle possible differences in the supported properties of the browser, etc., but in any case, you should do this in any NPAPI plugin.

An added benefit is that you won’t have too many problems using the same plugin in environments other than QtWebKit.

+3
source

, Mozilla/Gecko ( NPAPI ) NPAPI.

npapi , PPAPI.

, webkit: https://svn.webkit.org/wiki/QtWebKitPlugins

npapi-headers.

+1

QtWebKit, FireFox ( Gecko webkit), IE ...

- QT qtbrowserplugin. 4,5, - . , .

Check out FireBreath (as georg-fritzsche mentions)

0
source

Source: https://habr.com/ru/post/1729187/


All Articles