<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 19 Sep 2017, at 15:28, Kamil Zaripov <<a href="mailto:kamil@zaripov.net" class="">kamil@zaripov.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">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)?</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"></div></blockquote></div><br class=""><div class="">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.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class="">James</div></body></html>