The only suggestion I can think of is to make sure you are using the single threaded threading model:

setThreadingModel(osgViewer::Viewer::SingleThreaded);

AFAIK, QT viewers will not work with any of OSG's multi-threaded models.

Rob

On 9/29/2010 9:35 AM, Sajjad wrote:
Hello forum,


I am using the adapter widget to run OSG viewer with Qt.


When i try to port the osgsimplifier example in the OSG Qt viewer then the program crashes with the following message:

********************************************************************

terminate called after throwing an instance of 'std::logic_error'

what(): basic_string::_S_construct NULL not valid

The program has unexpectedly finished.


*******************************************************************


Any hint ?


Regards
Sajjad


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to