summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/chip/view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/chip/view.cpp')
-rw-r--r--examples/graphicsview/chip/view.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graphicsview/chip/view.cpp b/examples/graphicsview/chip/view.cpp
index ce8aff9a83..b755b8eadd 100644
--- a/examples/graphicsview/chip/view.cpp
+++ b/examples/graphicsview/chip/view.cpp
@@ -42,13 +42,13 @@
#include "view.h"
#include <QtWidgets>
+#ifndef QT_NO_PRINTER
#include <QPrinter>
#include <QPrintDialog>
-
+#endif
#ifndef QT_NO_OPENGL
#include <QtOpenGL>
#endif
-
#include <qmath.h>
void GraphicsView::wheelEvent(QWheelEvent *e)