osgQt
osgQt copied to clipboard
OsgQOpenGLWidget will not start properly after it is placed in the QT layout and setContentsMargins is set.
pOsgW = new osgQOpenGLWidget; layout = new QGridLayout(this); layout->setContentsMargins(0,0,0,0); layout->addWidget(pOsgW,0,0,100,100); QObject::connect(pOsgW,&osgQOpenGLWidget::initialized,[this] [ ............ return 0; ]);