summaryrefslogtreecommitdiffstats
path: root/examples/richtext/orderform/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/richtext/orderform/mainwindow.cpp')
-rw-r--r--examples/richtext/orderform/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/richtext/orderform/mainwindow.cpp b/examples/richtext/orderform/mainwindow.cpp
index f241d50810..44b3cb4f9a 100644
--- a/examples/richtext/orderform/mainwindow.cpp
+++ b/examples/richtext/orderform/mainwindow.cpp
@@ -39,8 +39,10 @@
****************************************************************************/
#include <QtWidgets>
+#ifndef QT_NO_PRINTER
#include <QPrinter>
#include <QPrintDialog>
+#endif
#include "detailsdialog.h"
#include "mainwindow.h"