[osg-users] Qt Quick and Android

James Turner zakalawe at mac.com
Fri Sep 22 01:17:43 PDT 2017


> On 19 Sep 2017, at 15:28, Kamil Zaripov <kamil at zaripov.net> wrote:
> 
> Now I’m trying to build osgqtquick library (or just code that is responsible to create QQuickItem) for Android. However I would like to know is there any library that surely works under desktop platforms (Windows, Linux, macOS) and mobile (Android and maybe iOS)?

There’s another approach you can use, which is simpler than these examples, using the beforeRendering hook of QQ2 to run the OSG render frame. I think I have an example of that somewhere, but would need to check.

I’m currently working on an integration in the other direction, where QQ2 lives in a custom drawable / post-render camera. This uses QQuickRenderControl and has the advantage of rendering on the OSG graphics thread, so in theorey it’s compatible will all the OSg threading modes and hence offers better performance. It does rely on using a forked implementation of GraphcisWindowQt based on QWindow and QGOpenGLContext. Some of that code is already public (inside FlightGear), the rest should hopfully be published in the next few weeks.

Kind regards,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170922/a02d904c/attachment.htm>


More information about the osg-users mailing list