[Interest] osgQt GLWidget reparent issue

baneyue baneyue at gmail.com
Mon Sep 2 02:52:16 CEST 2013


This problem was solved.

I checked the Assistant, the doc QGLWidget has some description about
this issue and provide a method to avoid the reparent stuff on
*Windows*(with a dummy widget).

This issue is platform specific, it seems only appear on OS *Windows*.

	baneyue

On Fri, Aug 30, 2013 at 11:57:24AM +0800, baneyue wrote:
> Hi there:
> 
> I got a problem using osgQt in my project. The main issue is something
> related to the GLWidget.
> 
> osgQt use a GLWidget inherited from QGLWidget as its graphics context, I
> add this widget to my mainwindow, everything just word fine.
> 
> *BUT* when I reparent its parent, the GLWidget show nothing but whole
> black background, I really need to reparent it, so I am stucked.
> 
> Anyone familiar with this?
> 
> 	baneyue



More information about the Interest mailing list