Hi David, Just to answer your point, I would be personally interested in such an integration. So far I'm using the AdapterWidget of the ViewerQt example but I'm not fully satisfied. Indeed it suffers a couple of problems as : - the lack of multiple thread support - a bad translation between QT keyboard events and OSG one.
I had a quick look to the code you pointed and both seems to be handled in it (tell me if I'm wrong). As for the QOSGWidget, I tried to embed it in a QtDesigner based GUI and I must confess I couldn't make it. May be I dind't try hard enough. Yet if someone could provide such an example (ie without the trick to avoid the moc steps and so on), that would be hell of a tip. Thanks On Thu, May 7, 2009 at 8:43 PM, David Guthrie <[email protected]>wrote: > Hi, > > We wrote a QT/OSG integration that implements the windowing system > interface for qt. > > It's in the delta3d dtQt library. It seems like the sort of thing that > should be part of OSG, we just haven't submitted it. If there is interest, > we can look at what the code should look like and where it should go... > > Look at > > https://delta3d.svn.sourceforge.net/svnroot/delta3d/trunk/delta3d/inc/dtQt > https://delta3d.svn.sourceforge.net/svnroot/delta3d/trunk/delta3d/src/dtQt > > at the files > > osgadapterwidget.h > osggraphicswindowqt.h > qtguiwindowsystemwrapper.h > > osgadapterwidget.cpp > osggraphicswindowqt.cpp > qtguiwindowsystemwrapper.cpp > > Thank you! > David Guthrie > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=11639#11639 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Loïc Simon
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

