summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprintdevice_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qprintdevice_p.h')
-rw-r--r--src/printsupport/kernel/qprintdevice_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/printsupport/kernel/qprintdevice_p.h b/src/printsupport/kernel/qprintdevice_p.h
index 55124c16d4..4d63d46aeb 100644
--- a/src/printsupport/kernel/qprintdevice_p.h
+++ b/src/printsupport/kernel/qprintdevice_p.h
@@ -60,6 +60,8 @@
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_PRINTER
+
class QPlatformPrintDevice;
class QMarginsF;
class QMimeType;
@@ -142,4 +144,6 @@ Q_DECLARE_SHARED(QPrintDevice)
QT_END_NAMESPACE
+#endif // QT_NO_PRINTER
+
#endif // QPLATFORMPRINTDEVICE_H