summaryrefslogtreecommitdiffstats
path: root/examples/richtext
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-08-25 15:53:04 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-08-25 15:54:16 +0200
commit5e6605f7b006225f112b92956961974c8c8ad1a9 (patch)
tree4e00075b970d26f640b952b03a2c32865f6ea3ff /examples/richtext
parent794feb002ad468bcfa60d1edc55637273fef5832 (diff)
Fix building of examples.
Change-Id: Iebb56c81fd13deaa82d8883e3f1529f1a78ebea8 Reviewed-on: http://codereview.qt.nokia.com/3603 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'examples/richtext')
-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