Re: [osg-users] creating widget for Qt

2009-03-19 Thread Iván Cuevas
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

Re: [osg-users] creating widget for Qt

2009-03-16 Thread Iván Cuevas
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

[osg-users] creating widget for Qt

2009-03-04 Thread ami guru
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

Re: [osg-users] creating widget for Qt

2009-03-04 Thread Iván
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