diff options
author | Iain <qt-info@nokia.com> | 2010-04-15 14:19:50 (GMT) |
---|---|---|
committer | Iain <qt-info@nokia.com> | 2010-04-16 21:07:58 (GMT) |
commit | 26b6822674d1f96c4fdc9cb2078e7212372fa9ff (patch) | |
tree | b2a95ba3c3120985a035b50cbf6b7641b427c728 /src/gui/text/qtextdocument.cpp | |
parent | 8f1b5bc690e3e3ddc9c23b358ef0b34f259361f7 (diff) | |
download | Qt-26b6822674d1f96c4fdc9cb2078e7212372fa9ff.zip Qt-26b6822674d1f96c4fdc9cb2078e7212372fa9ff.tar.gz Qt-26b6822674d1f96c4fdc9cb2078e7212372fa9ff.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
(cherry picked from commit a7ded5708ce81a37404cc0db8de84521c2aa693d)
Diffstat (limited to 'src/gui/text/qtextdocument.cpp')
-rw-r--r-- | src/gui/text/qtextdocument.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextdocument.cpp b/src/gui/text/qtextdocument.cpp index 9a1b70c..3e556a7 100644 --- a/src/gui/text/qtextdocument.cpp +++ b/src/gui/text/qtextdocument.cpp @@ -1656,7 +1656,7 @@ static void printPage(int index, QPainter *painter, const QTextDocument *doc, co painter->restore(); } -extern int qt_defaultDpi(); +Q_GUI_EXPORT extern int qt_defaultDpi(); /*! Prints the document to the given \a printer. The QPrinter must be |