Show
Ignore:
Timestamp:
12/02/10 15:13:54 (4 years ago)
Author:
robert
Message:

From Mathias Froehlich, "Attached are most of the fixes that are required to build osg on solaris and
hpux. I have skipped irix this time as irix is too dead to keep osg building
there.

As usual, solaris does not like member templates in stl containers.
Some headers missing and link problems due to missing libraries."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgQtWidgets/osgQtWidgets.cpp

    r11744 r11979  
    364364        { 
    365365            osg::ref_ptr<osgQt::QWidgetImage> widgetImage = new osgQt::QWidgetImage(widget); 
     366#if (QT_VERSION >= QT_VERSION_CHECK(4, 5, 0)) 
    366367            widgetImage->getQWidget()->setAttribute(Qt::WA_TranslucentBackground); 
     368#endif 
    367369            widgetImage->getQGraphicsViewAdapter()->setBackgroundColor(QColor(0, 0, 0, 0)); 
    368370            //widgetImage->getQGraphicsViewAdapter()->resize(800, 600);