- Timestamp:
- 12/02/10 15:13:54 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgQtWidgets/osgQtWidgets.cpp
r11744 r11979 364 364 { 365 365 osg::ref_ptr<osgQt::QWidgetImage> widgetImage = new osgQt::QWidgetImage(widget); 366 #if (QT_VERSION >= QT_VERSION_CHECK(4, 5, 0)) 366 367 widgetImage->getQWidget()->setAttribute(Qt::WA_TranslucentBackground); 368 #endif 367 369 widgetImage->getQGraphicsViewAdapter()->setBackgroundColor(QColor(0, 0, 0, 0)); 368 370 //widgetImage->getQGraphicsViewAdapter()->resize(800, 600);
