[osg-users] Fwd: creating widget for Qt

ami guru dosto.walla at gmail.com
Mon Mar 16 00:36:48 PDT 2009


Hello Ivan,

In the pro file do i have to include OpenGL module

or just the library linker for Openscenegraph will suffice


Regards
Sajjad

---------- Forwarded message ----------
From: Iván <osgforum at tevs.eu>
Date: Wed, Mar 4, 2009 at 11:27 PM
Subject: Re: [osg-users] creating widget for Qt
To: osg-users at lists.openscenegraph.org


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





_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090316/7022b4a5/attachment-0003.htm>


More information about the osg-users mailing list