summaryrefslogtreecommitdiffstats
path: root/examples/animation/stickman
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation/stickman')
-rw-r--r--examples/animation/stickman/graphicsview.cpp4
-rw-r--r--examples/animation/stickman/graphicsview.h2
-rw-r--r--examples/animation/stickman/lifecycle.cpp2
-rw-r--r--examples/animation/stickman/main.cpp2
-rw-r--r--examples/animation/stickman/stickman.pro1
5 files changed, 6 insertions, 5 deletions
diff --git a/examples/animation/stickman/graphicsview.cpp b/examples/animation/stickman/graphicsview.cpp
index 0f7ce5f1c6..a42dd1600b 100644
--- a/examples/animation/stickman/graphicsview.cpp
+++ b/examples/animation/stickman/graphicsview.cpp
@@ -42,8 +42,8 @@
#include "stickman.h"
#include <QtGui/QKeyEvent>
-#include <QtGui/QGraphicsScene>
-#include <QtGui/QGraphicsView>
+#include <QtWidgets/QGraphicsScene>
+#include <QtWidgets/QGraphicsView>
GraphicsView::GraphicsView(QWidget *parent) : QGraphicsView(parent), m_editor(0) {}
diff --git a/examples/animation/stickman/graphicsview.h b/examples/animation/stickman/graphicsview.h
index 400e4a63d4..abd621df43 100644
--- a/examples/animation/stickman/graphicsview.h
+++ b/examples/animation/stickman/graphicsview.h
@@ -41,7 +41,7 @@
#ifndef GRAPHICSVIEW_H
#define GRAPHICSVIEW
-#include <QtGui/QGraphicsView>
+#include <QtWidgets/QGraphicsView>
class MainWindow;
class GraphicsView: public QGraphicsView
diff --git a/examples/animation/stickman/lifecycle.cpp b/examples/animation/stickman/lifecycle.cpp
index 8e9dbe1e8b..791b33eb2e 100644
--- a/examples/animation/stickman/lifecycle.cpp
+++ b/examples/animation/stickman/lifecycle.cpp
@@ -45,7 +45,7 @@
#include "graphicsview.h"
#include <QtCore>
-#include <QtGui>
+#include <QtWidgets>
class KeyPressTransition: public QSignalTransition
{
diff --git a/examples/animation/stickman/main.cpp b/examples/animation/stickman/main.cpp
index 902e572a0e..c5c3eb316b 100644
--- a/examples/animation/stickman/main.cpp
+++ b/examples/animation/stickman/main.cpp
@@ -46,7 +46,7 @@
#include "rectbutton.h"
#include <QtCore>
-#include <QtGui>
+#include <QtWidgets>
int main(int argc, char **argv)
{
diff --git a/examples/animation/stickman/stickman.pro b/examples/animation/stickman/stickman.pro
index ba31265055..340a502c90 100644
--- a/examples/animation/stickman/stickman.pro
+++ b/examples/animation/stickman/stickman.pro
@@ -24,4 +24,5 @@ symbian {
TARGET.UID3 = 0xA000E3F9
CONFIG += qt_example
}
+QT += widgets
maemo5: CONFIG += qt_example