A simple working example using a plugin in Qt and its work with NPAPI

Can someone show me a simple working example using Qt (a DLL file for exporting a DLL) and make it work with NPAPI. I want a simple example to test it in Google Chrome. Any links, codes ... Thank you

+4
source share
2 answers

There is a good infrastructure called Firebreath for writing cross-platform browser plugins in C ++. It comes with lots of documentation and sample projects, so it's easy to get started. As a plus, besides NPAPI hosts, you also get free support for ActiveX browsers (Internet Explorer).

http://www.firebreath.org

+5
source

Check out the QtBrowserPlugin solution, http://doc.qt.nokia.com/solutions/4/qtbrowserplugin/developingplugins.html

Here you should find information on writing your own NPAPI plugins.

Update: I did not understand that there is no useful link to the source, it can be found at http://qt.gitorious.org/qt-solutions/ for viewing online http://qt.gitorious.org/qt-solutions/qt- solutions / trees / master / qtbrowserplugin

+4
source

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


All Articles