[osg-users] creating widget for Qt
osgforum at tevs.eu
Wed Mar 4 14:27:06 PST 2009
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,
Read this topic online here:
More information about the osg-users