summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qpaintengine_preview_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qpaintengine_preview_p.h')
-rw-r--r--src/printsupport/kernel/qpaintengine_preview_p.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/printsupport/kernel/qpaintengine_preview_p.h b/src/printsupport/kernel/qpaintengine_preview_p.h
index 31b3142cb6..9203e40235 100644
--- a/src/printsupport/kernel/qpaintengine_preview_p.h
+++ b/src/printsupport/kernel/qpaintengine_preview_p.h
@@ -56,7 +56,7 @@
#include <QtGui/qpaintengine.h>
#include <QtPrintSupport/qprintengine.h>
-#ifndef QT_NO_PRINTPREVIEWWIDGET
+QT_REQUIRE_CONFIG(printpreviewwidget);
QT_BEGIN_NAMESPACE
@@ -100,6 +100,4 @@ public:
QT_END_NAMESPACE
-#endif // QT_NO_PRINTPREVIEWWIDGET
-
#endif