Hi Juan, 

Are you using QGLWidget or QGraphicsView. If you want to render osg scene in
a widget then you can use QGLWidget, one example how to render OSG in
example "osgViewerQT". Another way is to render in QGraphicsScene, see
following link for more details
http://doc.trolltech.com/qq/qq26-openglcanvas.html . If  you tell a little
more detail about what you are doing and what problem you are facing, than I
might help you.

Cheers
Sumit Pandey

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Juan
Sánchez
Sent: Sunday, October 24, 2010 01:24
To: [email protected]
Subject: [osg-users] OSG into QT4

Hi,
I am trying to show an OSG's scene into a QT's Widget, but I can't show the
window with the scene.
Please, I hope someone can help me, because I am not capable of finding the
problem
Mi code is attached to the message.

Thank you very much!

Cheers,
Juan

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




Attachments: 
http://forum.openscenegraph.org//files/main_161.cpp


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to