EGLFS and QNX both reference this symbol, hence it needs to be exported
Change-Id: I11b2b8ad5f2b81d951173f7cd8a7fbb8be4bb89b
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Q_GLOBAL_STATIC(QGLEngineThreadStorage<QGL2PaintEngineEx>, qt_gl_2_engine)
-QPaintEngine* qt_qgl_paint_engine()
+Q_OPENGL_EXPORT QPaintEngine* qt_qgl_paint_engine()
{
return qt_gl_2_engine()->engine();
}
return m_cache.object(cacheKey);
}
-extern QPaintEngine* qt_qgl_paint_engine();
+Q_OPENGL_EXPORT extern QPaintEngine* qt_qgl_paint_engine();
// Put a guard around a GL object identifier and its context.
// When the context goes away, a shared context will be used