<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Back from holidays...</div><div><br></div><div>Community support is thin when considering OpenSceneGraph with Qt. I am currenlty the only maintainer of osgQt because I have a software using it and I didn't want the project to be tossed out. <br></div><div><br></div><div>The Qt4 way of doing things with legacy osgQt (that was droped from OpenSceneGraph) doesn't fit well with the Qt5 way of doing things. Since Qt5.7 there are even incompatibilities (black screens, etc.).</div><div><br></div><div>Qt4 support is getting difficult, even debian is dropping Qt4 (<a href="https://wiki.debian.org/Qt4Removal">https://wiki.debian.org/Qt4Removal</a>).</div><div><br></div><div>In anticipation I have proposed to drop Qt4 and concentrate only on Qt5. Robert only asked to keep the Qt4 version around and make it clear which version of osg compiles with which version/branch of osgQt.</div><div><br></div><div>There is a feature branch (since Feb '18) of the Qt5 way of doing things awaiting testing and validation from the community. This is the code I use in my application which was crafted by paid support from KDab's Mike Krus (from which I had authorization to open source).<br></div><div><br></div><div><a href="https://github.com/openscenegraph/osgQt/tree/feature/osgQOpenGL">https://github.com/openscenegraph/osgQt/tree/feature/osgQOpenGL</a></div><div><br></div><div>Regards<br></div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr">--<br>nǝıɥʇɐ<span style="color:rgb(51,51,51);font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(249,249,249)">Ɯ</span></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 30 Jul 2018 at 17:07, Robert Osfield <<a href="mailto:robert.osfield@gmail.com">robert.osfield@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 30 Jul 2018 at 15:59, Andrew Cunningham <<a href="mailto:andrewC@mac.com" target="_blank">andrewC@mac.com</a>> wrote:<br>
><br>
> Back on the original topic :)<br>
><br>
> This is a really simple QtOSGWidget that I used as a starting point for an OSG widget in a QDialog. Simple and works fine.<br>
><br>
> <a href="https://github.com/vicrucann/QtOSG-hello" rel="noreferrer" target="_blank">https://github.com/vicrucann/QtOSG-hello</a><br>
<br>
Just had a quick look at the code. It only works "fine" because there<br>
it's a trivial example, it's buggy. Please compare to the the<br>
osg::Camera setup in the osgQt master and see if you can see the<br>
error, in this example. If you can then you'll be able to spot what<br>
to fix in your own programs.<br>
<br>
Robert.<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div></div>