summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontmetrics.cpp
diff options
context:
space:
mode:
authorIain <qt-info@nokia.com>2010-04-15 14:19:50 (GMT)
committerIain <qt-info@nokia.com>2010-04-15 14:45:41 (GMT)
commita7ded5708ce81a37404cc0db8de84521c2aa693d (patch)
treebf99ed888c40c2bee5dafc5d2777f6cba5b0d1d2 /src/gui/text/qfontmetrics.cpp
parent3fdf7e7a120b72819c5a0997ddb65951d4889813 (diff)
downloadQt-a7ded5708ce81a37404cc0db8de84521c2aa693d.zip
Qt-a7ded5708ce81a37404cc0db8de84521c2aa693d.tar.gz
Qt-a7ded5708ce81a37404cc0db8de84521c2aa693d.tar.bz2
Symbol visibility fixes for RVCT4 on Symbian
RVCT 4 is far more strict with regards to symbol visiblity that RVCT 2.2, and will hide symbols unless all references have default visibility in the object files. Update the various places in Qt code where the symbol visibility was set incorrectly for DLL-based platforms (those that use __declspec(dllimport) and (dllexport). Note: QtWebkit and QtScript are fixed in different commits. Task-number: QTBUG-9903 Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/text/qfontmetrics.cpp')
-rw-r--r--src/gui/text/qfontmetrics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfontmetrics.cpp b/src/gui/text/qfontmetrics.cpp
index 44a18de..e455bb4 100644
--- a/src/gui/text/qfontmetrics.cpp
+++ b/src/gui/text/qfontmetrics.cpp
@@ -63,7 +63,7 @@ extern void qt_format_text(const QFont& font, const QRectF &_r,
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