summaryrefslogtreecommitdiffstats
path: root/examples/animation/appchooser
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation/appchooser')
-rw-r--r--examples/animation/appchooser/appchooser.pro1
-rw-r--r--examples/animation/appchooser/main.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/animation/appchooser/appchooser.pro b/examples/animation/appchooser/appchooser.pro
index 958b1710e3..3969b551e9 100644
--- a/examples/animation/appchooser/appchooser.pro
+++ b/examples/animation/appchooser/appchooser.pro
@@ -11,4 +11,5 @@ symbian {
TARGET.UID3 = 0xA000E3F5
CONFIG += qt_example
}
+QT += widgets
maemo5: CONFIG += qt_example
diff --git a/examples/animation/appchooser/main.cpp b/examples/animation/appchooser/main.cpp
index 3788533aa8..873054ce5f 100644
--- a/examples/animation/appchooser/main.cpp
+++ b/examples/animation/appchooser/main.cpp
@@ -39,7 +39,7 @@
****************************************************************************/
#include <QtCore>
-#include <QtGui>
+#include <QtWidgets>
class Pixmap : public QGraphicsWidget
@@ -88,7 +88,7 @@ public:
{
}
- virtual void resizeEvent(QResizeEvent *event)
+ virtual void resizeEvent(QResizeEvent *)
{
fitInView(sceneRect(), Qt::KeepAspectRatio);
}