summaryrefslogtreecommitdiffstats
path: root/examples/touch
diff options
context:
space:
mode:
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"