[osg-users] osgQt + OSG 3.6.2 Status

Werner Modenbach Werner.Modenbach at texion.eu
Tue Sep 11 04:01:48 PDT 2018


Hi Mathieu,

thanks for your support for OSG/Qt integration. I think there are really
many people using OSG together with Qt.
Qt is just great for building multi environment user interfaces.
But there is one thing I don't really understand. There is some
discussion sometimes about difficulties in this integration.
My integration is dated April 2013 and I didn't need any changes since then.

classCl_3D_OsgViewer_QT:publicQWidget,publicosgViewer::Viewer{...

It works without any problems with every version of Qt since that time.
So where is the problem?

OK, I'm not using VS 20xx but Qt Creator and g++ instead. Maybe that
makes the difference. But in this case
it isn't really a problem of Qt integration but a VS problem.
I see that some people tend integrating OSG into QOpenGLWindow.  In my
opinion this is a stony way
because Qt GL wasn't that stable and finally decided since many years
now. So things change frequently
and this is always causing headache for keeping integrations running.

On the other hand I think there is nothing more developed and stable
than QWidget.
If someone needs help send me a PM and I'm willing to share my
integration class.

- Werner -

Am 10.09.2018 um 18:42 schrieb Mathieu MARACHE:
> Back from holidays...
>
> 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.
>
> 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.).
>
> Qt4 support is getting difficult, even debian is dropping Qt4
> (https://wiki.debian.org/Qt4Removal).
>
> 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.
>
> 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).
>
> https://github.com/openscenegraph/osgQt/tree/feature/osgQOpenGL
>
> Regards
> --
> nǝıɥʇɐƜ
>
>
> On Mon, 30 Jul 2018 at 17:07, Robert Osfield <robert.osfield at gmail.com
> <mailto:robert.osfield at gmail.com>> wrote:
>
>     On Mon, 30 Jul 2018 at 15:59, Andrew Cunningham <andrewC at mac.com
>     <mailto:andrewC at mac.com>> wrote:
>     >
>     > Back on the original topic :)
>     >
>     > This is a really simple QtOSGWidget that I used as a starting
>     point for an OSG widget in a QDialog. Simple and works fine.
>     >
>     > https://github.com/vicrucann/QtOSG-hello
>
>     Just had a quick look at the code.  It only works "fine" because there
>     it's a trivial example, it's buggy.  Please compare to the the
>     osg::Camera setup in the osgQt master and see if you can see the
>     error, in this example.  If you can then you'll be able to spot what
>     to fix in your own programs.
>
>     Robert.
>     _______________________________________________
>     osg-users mailing list
>     osg-users at lists.openscenegraph.org
>     <mailto:osg-users at lists.openscenegraph.org>
>     http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180911/cf424951/attachment.html>


More information about the osg-users mailing list