Hi Michael, I'm afraid I can't help on this, I can point you in the direction of the existing OSG Qt examples, but have very little Qt expertise myself.
Robert. On Mon, Sep 5, 2011 at 8:03 PM, Michael W. Hall <hal...@att.net> wrote: > Robert, > > Trying to use your example you mentioned to get a GUI going. I am > getting an error about: > > /home/mwhall/Projects/osgMap/src/osgmap/MainWindow.cpp: In function > ‘QWidget* addViewWidget(osg::Camera*, osg::Node*)’: > /home/mwhall/Projects/osgMap/src/osgmap/MainWindow.cpp:48: error: > ‘addView’ was not declared in this scope > > I am basically trying to get the example to run, but I am trying to > restructure it a little. Thought you could take a quick look. Probably > something easy that I am just missing. > > Thanks, > Michael > > On Sun, 2011-08-14 at 11:07 +0100, Robert Osfield wrote: >> HI Michael, >> >> OSG-3.0.x has an osgQt library that provides a class for adapting Qt >> window to work with the osgViewer classes. The osgviewerQt example >> illustrates this in action. >> >> Robert. >> >> On Sat, Aug 13, 2011 at 10:25 PM, Michael W. Hall <hal...@att.net> 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 >> > osg-users@lists.openscenegraph.org >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > >> _______________________________________________ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org