summaryrefslogtreecommitdiffstats
path: root/examples/touch/pinchzoom
diff options
context:
space:
mode:
Diffstat (limited to 'examples/touch/pinchzoom')
-rw-r--r--examples/touch/pinchzoom/main.cpp2
-rw-r--r--examples/touch/pinchzoom/pinchzoom.pro1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/touch/pinchzoom/main.cpp b/examples/touch/pinchzoom/main.cpp
index defe0028af..bf8528c1e4 100644
--- a/examples/touch/pinchzoom/main.cpp
+++ b/examples/touch/pinchzoom/main.cpp
@@ -41,7 +41,7 @@
#include "graphicsview.h"
#include "mouse.h"
-#include <QtGui>
+#include <QtWidgets>
#include <math.h>
diff --git a/examples/touch/pinchzoom/pinchzoom.pro b/examples/touch/pinchzoom/pinchzoom.pro
index e038456aa7..f4145dbdfd 100644
--- a/examples/touch/pinchzoom/pinchzoom.pro
+++ b/examples/touch/pinchzoom/pinchzoom.pro
@@ -14,6 +14,7 @@ target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/touch/pinchzoom
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS pinchzoom.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/touch/pinchzoom
INSTALLS += target sources
+QT += widgets
symbian: CONFIG += qt_example
maemo5: CONFIG += qt_example