summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qplatformprintplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qplatformprintplugin.h')
-rw-r--r--src/printsupport/kernel/qplatformprintplugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/printsupport/kernel/qplatformprintplugin.h b/src/printsupport/kernel/qplatformprintplugin.h
index 69cb55b4d9..30e8f7938a 100644
--- a/src/printsupport/kernel/qplatformprintplugin.h
+++ b/src/printsupport/kernel/qplatformprintplugin.h
@@ -49,9 +49,11 @@
// source and binary incompatible with future versions of Qt.
//
+#include <QtPrintSupport/qtprintsupportglobal.h>
#include <QtCore/qplugin.h>
#include <QtCore/qfactoryinterface.h>
-#include <QtPrintSupport/qtprintsupportglobal.h>
+
+#ifndef QT_NO_PRINTER
QT_BEGIN_NAMESPACE
@@ -74,4 +76,6 @@ public:
QT_END_NAMESPACE
+#endif
+
#endif // QPLATFORMPRINTPLUGIN_H