diff -r ef0373b55136 -r 758a864f9613 src/opengl/qwindowsurface_gl_p.h --- a/src/opengl/qwindowsurface_gl_p.h Fri Sep 17 08:34:18 2010 +0300 +++ b/src/opengl/qwindowsurface_gl_p.h Mon Oct 04 01:19:32 2010 +0300 @@ -67,6 +67,7 @@ struct QGLWindowSurfacePrivate; Q_OPENGL_EXPORT QGLWidget* qt_gl_share_widget(); +Q_OPENGL_EXPORT void qt_destroy_gl_share_widget(); class QGLWindowSurfaceGLPaintDevice : public QGLPaintDevice {