diff -r cc75c76972ee -r c0432d11811c src/gui/text/qfontmetrics.cpp --- a/src/gui/text/qfontmetrics.cpp Wed Apr 21 12:15:23 2010 +0300 +++ b/src/gui/text/qfontmetrics.cpp Wed Apr 21 20:15:53 2010 +0300 @@ -63,7 +63,7 @@ int tf, const QString &text, QRectF *brect, int tabStops, int *tabArray, int tabArrayLen, QPainter *painter); -extern int qt_defaultDpi(); +Q_GUI_EXPORT extern int qt_defaultDpi(); /***************************************************************************** QFontMetrics member functions