From 91c340aef789bfc06b0403524c09076e05a8d40c Mon Sep 17 00:00:00 2001 From: Jani Hautakangas Date: Fri, 25 Feb 2011 15:23:31 +0200 Subject: Fix extern usage in qpixmapdata_gl.cpp 'extern' is insufficient for linking on DLL-based platforms that use ELF binaries. Reviewed-by: TRUSTME --- src/opengl/qpixmapdata_gl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opengl/qpixmapdata_gl.cpp b/src/opengl/qpixmapdata_gl.cpp index 4f8d647..cd403f8 100644 --- a/src/opengl/qpixmapdata_gl.cpp +++ b/src/opengl/qpixmapdata_gl.cpp @@ -59,7 +59,7 @@ QT_BEGIN_NAMESPACE -extern QGLWidget* qt_gl_share_widget(); +Q_OPENGL_EXPORT extern QGLWidget* qt_gl_share_widget(); /*! \class QGLFramebufferObjectPool -- cgit v0.12