[osg-users] creating widget for Qt

Iván osgforum at tevs.eu
Wed Mar 4 14:27:06 PST 2009


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 options to render OSG in a Qt widget.

This works for me except for some warnings because of rendering out of QPainter events, but I will deal with this later :)

I hope this help you in some way,
Iván.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7966#7966








More information about the osg-users mailing list