1d599c0572
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. " |
||
---|---|---|
.. | ||
AdapterWidget.cpp | ||
CMakeLists.txt | ||
osgviewerQT.cpp | ||
QOSGWidget.cpp |