summaryrefslogtreecommitdiffstats
path: root/examples/richtext/orderform
diff options
context:
space:
mode:
Diffstat (limited to 'examples/richtext/orderform')
-rw-r--r--examples/richtext/orderform/mainwindow.cpp2
-rw-r--r--examples/richtext/orderform/orderform.pro2
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/richtext/orderform/mainwindow.cpp b/examples/richtext/orderform/mainwindow.cpp
index 30ea7a70be..e94d4e6316 100644
--- a/examples/richtext/orderform/mainwindow.cpp
+++ b/examples/richtext/orderform/mainwindow.cpp
@@ -39,6 +39,8 @@
****************************************************************************/
#include <QtWidgets>
+#include <QPrinter>
+#include <QPrintDialog>
#include "detailsdialog.h"
#include "mainwindow.h"
diff --git a/examples/richtext/orderform/orderform.pro b/examples/richtext/orderform/orderform.pro
index 4ba2ecf203..729f66c873 100644
--- a/examples/richtext/orderform/orderform.pro
+++ b/examples/richtext/orderform/orderform.pro
@@ -11,5 +11,5 @@ sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/orderform
INSTALLS += target sources
symbian: CONFIG += qt_example
-QT += widgets
+QT += widgets printsupport
maemo5: CONFIG += qt_example