summaryrefslogtreecommitdiffstats
path: root/examples/animation/states
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation/states')
-rw-r--r--examples/animation/states/main.cpp2
-rw-r--r--examples/animation/states/states.pro1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/animation/states/main.cpp b/examples/animation/states/main.cpp
index d49aa415a7..631ec973f7 100644
--- a/examples/animation/states/main.cpp
+++ b/examples/animation/states/main.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
class Pixmap : public QGraphicsObject
{
diff --git a/examples/animation/states/states.pro b/examples/animation/states/states.pro
index 56b3c51299..18dc7ac29e 100644
--- a/examples/animation/states/states.pro
+++ b/examples/animation/states/states.pro
@@ -11,4 +11,5 @@ symbian {
TARGET.UID3 = 0xA000E3F8
CONFIG += qt_example
}
+QT += widgets
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)