summaryrefslogtreecommitdiffstats
path: root/src/opengl/qpixmapdata_gl.cpp
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2010-10-20 09:32:01 (GMT)
committerJani Hautakangas <jani.hautakangas@nokia.com>2010-10-21 08:50:12 (GMT)
commit5f49392232dff904fdd3401cb739a1eaa79f7bd3 (patch)
treef505f118120fb45499c349aafb89bc7965127ea2 /src/opengl/qpixmapdata_gl.cpp
parent8331e9700b830594d3c015308bf0aa351997862c (diff)
downloadQt-5f49392232dff904fdd3401cb739a1eaa79f7bd3.zip
Qt-5f49392232dff904fdd3401cb739a1eaa79f7bd3.tar.gz
Qt-5f49392232dff904fdd3401cb739a1eaa79f7bd3.tar.bz2
Functions that are externally defined to QtOpenGL needs to be imported.
This is needed for RVCT4 Reviewed-by: Jason Barron
Diffstat (limited to 'src/opengl/qpixmapdata_gl.cpp')
-rw-r--r--src/opengl/qpixmapdata_gl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qpixmapdata_gl.cpp b/src/opengl/qpixmapdata_gl.cpp
index 89000bb..cd7f0c2 100644
--- a/src/opengl/qpixmapdata_gl.cpp
+++ b/src/opengl/qpixmapdata_gl.cpp
@@ -739,8 +739,8 @@ QGLTexture* QGLPixmapData::texture() const
return &m_texture;
}
-extern int qt_defaultDpiX();
-extern int qt_defaultDpiY();
+Q_DECL_IMPORT extern int qt_defaultDpiX();
+Q_DECL_IMPORT extern int qt_defaultDpiY();
int QGLPixmapData::metric(QPaintDevice::PaintDeviceMetric metric) const
{