Domanda

I'm going to implement a npruntime plugin which will work on Chrome, Mozilla FF(windows/mac) and Safari(windows/mac). That plugin can draw images and will have some UI control. I don't want to re-program the plugin for each OS platform if possible.

Using firebreath(framework for plugin) + Qt lib seems to be the only way to handle those problems I've been researching.

Is there other way to do it other than with firebreath and Qt lib? Any suggestion will be helpful.

Thanks.

È stato utile?

Soluzione

It depends on your UI requirements, but a relatively straight-forward way would be to do the drawing with OpenGL and provide the UI in the web-page.

To get started with OpenGL with FireBreath on Windows see here, for OS X see here.

There is also the QtBrowserPlugin, but apparently it's still broken on OS X.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top