As suggested by the error message, calling XInitThreads() before doing any graphics (eg. at the start of main()) fixes the problem (tested in OSG 3.2.1 branch tip, Qt 4.8).

Note however that we specifically don't do that in osgViewer/GraphicsWindowX11.cpp; I don't know why.

Related Qt bugs:
https://bugreports.qt-project.org/browse/QTBUG-31935
https://bugreports.qt-project.org/browse/QTBUG-200
https://bugreports.qt-project.org/browse/QTBUG-24528
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to