Hi Sajjad,
The warnigs are because I'm rendering in a QWidget out of the paint event.
These warnings doesn't appear if you render in a QGLWidget, but the
CompositeViewer framework with multiple OSG views in different widgets and
multi-threaded does no render properly (at least for me [Crying or
I don't use .pro files, but I have to include the OpenGL module because I
extend from QGLWidget.
Regards,
Iván.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8567#8567
___
osg-users mailing list
Hello forum,
I would like to create a viewer widget for osg using the Qt designer.
To promote it i need the corresponding header file to that.
As i see in the source you have the class declaration and definition in a
sigle .cpp file.
Do i have to separate them or the header file is located
Hi Sajjad,
Personally I create the whole interface in Qt designer and leave the OSG
widget/s integration in the initialization code.
About the header file, I 've separated the code from the original OSG file in
my own files (.h and .cpp) As you can see in the Qt sample you have different
4 matches
Mail list logo