On Saturday 13 August 2011 16:25:16 Michael W. Hall wrote: > Would someone mind sharing their code for creating a QT application? I > have spend numerous hours trying to create a QT window and have a window > to render in. I have looked at the example code and it looks very > different from the QT books I have. > > I would like to be able to create the menus using the QT. The progress > I have made so far uses CMake to build which I like. But after reading > some of the forums on using QT, I believe that what I have so far will > not render any osg data. I really want to learn how to use OSG and I am > getting frustrated just trying to create the window app. > > If someone could share there code or point me in the right direction I > would appreciate it. > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org I'm using OSG with Qt. Here is my widget which is used to render scene:
https://gitorious.org/mahjong-night/mahjong-night/blobs/master/mahjong- night/client/tablewidget.cpp https://gitorious.org/mahjong-night/mahjong-night/blobs/master/mahjong- night/client/tablewidget.h It's normal Qt widget which you can normally use in your application. For example set it as centralWidget of your MainWindow implementation. Sergey Vidyuk
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

