[osg-users] osgviewerQt integration required

manish Choudhary osgforum at tevs.eu
Thu Jun 11 07:43:31 PDT 2015


I'm using Qt 5.4.2 for Windows 32-bit (VS 2013) and  OpenSceneGraph-3.2.2 stable release  on Window 8.1 platform.
osgviewerQt example is not working without any modification.
It is aborts and in the command prompt it showing 
"Warning: detected OpenGL error 'invalid operation' at Before Renderer::compile 
Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context. "

Earlier in my application I have used osg 2.8  in Qt(4.8 VS 2008 - Window 8 )  using "class ViewerQT : public osgViewer::Viewer, public AdapterWidget"  to integrate osg in QT.  (attached file showing this integration)

Now I want to switch to latest QT (5.4) and Osg (3.2)  and but in this latest version  ealier(old) osg Qt intergration didn't work. So I look for osgviewerQt example . But both showing same type of error.

Why osgviewerQt example not working that seem strange to me.? 


Thank you!


Read this topic online here:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: header.h
Type: application/octet-stream
Size: 2358 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150611/f9b046f0/attachment-0003.obj>

More information about the osg-users mailing list