diff -r cc75c76972ee -r c0432d11811c src/gui/text/qtextdocument.cpp --- a/src/gui/text/qtextdocument.cpp Wed Apr 21 12:15:23 2010 +0300 +++ b/src/gui/text/qtextdocument.cpp Wed Apr 21 20:15:53 2010 +0300 @@ -1631,7 +1631,7 @@ 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