summaryrefslogtreecommitdiffstats
path: root/examples/animation/moveblocks
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation/moveblocks')
-rw-r--r--examples/animation/moveblocks/main.cpp2
-rw-r--r--examples/animation/moveblocks/moveblocks.pro1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/animation/moveblocks/main.cpp b/examples/animation/moveblocks/main.cpp
index ca1876f95a..24e5f051d7 100644
--- a/examples/animation/moveblocks/main.cpp
+++ b/examples/animation/moveblocks/main.cpp
@@ -39,7 +39,7 @@
****************************************************************************/
#include <QtCore>
-#include <QtGui>
+#include <QtWidgets>
//![15]
class StateSwitchEvent: public QEvent
diff --git a/examples/animation/moveblocks/moveblocks.pro b/examples/animation/moveblocks/moveblocks.pro
index b49495ddd3..f127148793 100644
--- a/examples/animation/moveblocks/moveblocks.pro
+++ b/examples/animation/moveblocks/moveblocks.pro
@@ -10,4 +10,5 @@ symbian {
TARGET.UID3 = 0xA000E3F7
CONFIG += qt_example
}
+QT += widgets
maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)