summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qplatformprintdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qplatformprintdevice.h')
-rw-r--r--src/printsupport/kernel/qplatformprintdevice.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/printsupport/kernel/qplatformprintdevice.h b/src/printsupport/kernel/qplatformprintdevice.h
index 04d614085f..7674c50c2f 100644
--- a/src/printsupport/kernel/qplatformprintdevice.h
+++ b/src/printsupport/kernel/qplatformprintdevice.h
@@ -53,8 +53,6 @@
// We mean it.
//
-#include "qplatformprintdevice.h"
-
#include <private/qprint_p.h>
#include <QtCore/qvector.h>
@@ -63,6 +61,8 @@
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_PRINTER
+
class Q_PRINTSUPPORT_EXPORT QPlatformPrintDevice : public QSharedData
{
public:
@@ -177,4 +177,6 @@ protected:
QT_END_NAMESPACE
+#endif // QT_NO_PRINTER
+
#endif // QPLATFORMPRINTDEVICE_H