diff --git a/src/gui/painting/qcups_p.h b/src/gui/painting/qcups_p.h index bc00c7396e..4b3ea32ac7 100644 --- a/src/gui/painting/qcups_p.h +++ b/src/gui/painting/qcups_p.h @@ -65,7 +65,7 @@ QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(cups_option_t, Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE); -class QCUPSSupport +class Q_GUI_EXPORT QCUPSSupport { public: QCUPSSupport(); diff --git a/src/gui/painting/qpdf_p.h b/src/gui/painting/qpdf_p.h index 39e6c21620..6b2e16f3de 100644 --- a/src/gui/painting/qpdf_p.h +++ b/src/gui/painting/qpdf_p.h @@ -153,8 +153,8 @@ namespace QPdf { struct PaperSize { int width, height; // in postscript points }; - PaperSize paperSize(QPrinter::PaperSize paperSize); - const char *paperSizeToString(QPrinter::PaperSize paperSize); + Q_GUI_EXPORT PaperSize paperSize(QPrinter::PaperSize paperSize); + Q_GUI_EXPORT const char *paperSizeToString(QPrinter::PaperSize paperSize); }