Hi, I'm surprised that QThread::currentThread() can return something else than a QThread instance.
But if this is really the case, the following should solve the issue : Code: QThread* pQThread = dynamic_cast< QThread* >(QThread::currentThread()); if (pQThread != NULL) { QtThreadPrivateData* pd = static_cast< QtThreadPrivateData >(pQThread); } ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50337#50337 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org