From Don Leich, "Here are a couple of fixes for the file examples/osgviewerQT/QOSGWidget.cpp to address some OS X issues.  Most of these fixes were previously submitted by Julian Scheid.  However, this patch however should not break the example for non-OS X builds and has been tested on 64-bit Linux as well as Mac OS X 10.5.
From Don Leich, "Here are a couple of fixes for the file examples/osgviewerQT/QOSGWidget.cpp to
address some OS X issues.  Most of these fixes were previously submitted by Julian Scheid.  However, this patch however should not break the example for non-OS X builds and has been tested on 64-bit Linux as well as Mac OS X 10.5.

o  The value returned by QWidget::winId() is not usable as input for
WindowData under OS X the way it is for both Windows and Unix.  Julian's fix
for this uses the Carbon API.  Since the fix for X11 in unknown, it is now
assumed that OSG has been built with OSG_WINDOWING_SYSTEM='Carbon' for this
example to work at all when running under OS X.

o  The CompositeViewer version would hang on exit with the original timer start
argument.  Changing the argument value to match the non-composite version
seemed to cure the hanging.

o  Julian's patch altered the setGeometry position to 30/30 in order to see any
window decorations.  I did not have this problem, but left his changes intact.

o  The non-composite viewer needed it's camera initialization defered until
after the ViewerQOSG's Qt base class had been initialized.  Otherwise, the view
did not cover the entire window.
"


ghub/osg,XiaoCC/osg,stmh/osg,ntoand/osg,artoolkit/osg,XiaoCC/osg,ghub/osg,ntoand/osg,omega-hub/osg,stmh/osg,omega-hub/osg,omega-hub/osg,XiaoCC/osg,koshman86/osg,ghub/osg,artoolkit/osg,koshman86/osg,ntoand/osg,XiaoCC/osg,stmh/osg,artoolkit/osg,stmh/osg,XiaoCC/osg,omega-hub/osg,koshman86/osg,ntoand/osg,stmh/osg,ghub/osg,koshman86/osg,artoolkit/osg