summaryrefslogtreecommitdiffstats
path: root/examples/touch
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/touch
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/touch')
-rw-r--r--examples/touch/fingerpaint/fingerpaint.pro2
-rw-r--r--examples/touch/fingerpaint/scribblearea.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/touch/fingerpaint/fingerpaint.pro b/examples/touch/fingerpaint/fingerpaint.pro
index 138d0c2bed..2d11eb7da7 100644
--- a/examples/touch/fingerpaint/fingerpaint.pro
+++ b/examples/touch/fingerpaint/fingerpaint.pro
@@ -9,7 +9,7 @@ target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/touch/fingerpaint
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS fingerpaint.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/touch/fingerpaint
INSTALLS += target sources
-QT += widgets
+QT += widgets printsupport
symbian: CONFIG += qt_example
maemo5: CONFIG += qt_example
diff --git a/examples/touch/fingerpaint/scribblearea.cpp b/examples/touch/fingerpaint/scribblearea.cpp
index 3b3b2ce33f..a83a9f3f1d 100644
--- a/examples/touch/fingerpaint/scribblearea.cpp
+++ b/examples/touch/fingerpaint/scribblearea.cpp
@@ -39,6 +39,8 @@
****************************************************************************/
#include <QtWidgets>
+#include <QPrinter>
+#include <QPrintDialog>
#include "scribblearea.h"