diff options
Diffstat (limited to 'examples/animation')
-rw-r--r-- | examples/animation/animatedtiles/animatedtiles.pro | 1 | ||||
-rw-r--r-- | examples/animation/animatedtiles/main.cpp | 2 | ||||
-rw-r--r-- | examples/animation/animation.pro | 1 | ||||
-rw-r--r-- | examples/animation/appchooser/appchooser.pro | 1 | ||||
-rw-r--r-- | examples/animation/appchooser/main.cpp | 2 | ||||
-rw-r--r-- | examples/animation/easing/animation.h | 2 | ||||
-rw-r--r-- | examples/animation/easing/easing.pro | 1 | ||||
-rw-r--r-- | examples/animation/easing/main.cpp | 2 | ||||
-rw-r--r-- | examples/animation/easing/window.h | 3 | ||||
-rw-r--r-- | examples/animation/moveblocks/main.cpp | 2 | ||||
-rw-r--r-- | examples/animation/moveblocks/moveblocks.pro | 1 | ||||
-rw-r--r-- | examples/animation/states/main.cpp | 2 | ||||
-rw-r--r-- | examples/animation/states/states.pro | 1 | ||||
-rw-r--r-- | examples/animation/stickman/graphicsview.cpp | 4 | ||||
-rw-r--r-- | examples/animation/stickman/graphicsview.h | 2 | ||||
-rw-r--r-- | examples/animation/stickman/lifecycle.cpp | 2 | ||||
-rw-r--r-- | examples/animation/stickman/main.cpp | 2 | ||||
-rw-r--r-- | examples/animation/stickman/stickman.pro | 1 |
18 files changed, 20 insertions, 12 deletions
diff --git a/examples/animation/animatedtiles/animatedtiles.pro b/examples/animation/animatedtiles/animatedtiles.pro index 1287d8b3d0..791bbf6a22 100644 --- a/examples/animation/animatedtiles/animatedtiles.pro +++ b/examples/animation/animatedtiles/animatedtiles.pro @@ -11,4 +11,5 @@ symbian { TARGET.UID3 = 0xA000D7D1 CONFIG += qt_example } +QT += widgets maemo5: CONFIG += qt_example diff --git a/examples/animation/animatedtiles/main.cpp b/examples/animation/animatedtiles/main.cpp index 46b5d1ddc5..c59c981cb1 100644 --- a/examples/animation/animatedtiles/main.cpp +++ b/examples/animation/animatedtiles/main.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include <QtCore/qstate.h> class Pixmap : public QObject, public QGraphicsPixmapItem diff --git a/examples/animation/animation.pro b/examples/animation/animation.pro index 4a9064d97e..27baed1a25 100644 --- a/examples/animation/animation.pro +++ b/examples/animation/animation.pro @@ -13,3 +13,4 @@ target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS animation.pro README sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/animation INSTALLS += target sources +QT += widgets 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..0a54842ef2 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 diff --git a/examples/animation/easing/animation.h b/examples/animation/easing/animation.h index f0aef6560b..5f6c425827 100644 --- a/examples/animation/easing/animation.h +++ b/examples/animation/easing/animation.h @@ -41,7 +41,7 @@ #ifndef ANIMATION_H #define ANIMATION_H -#include <QtGui> +#include <QtWidgets> #include <QtCore/qpropertyanimation.h> diff --git a/examples/animation/easing/easing.pro b/examples/animation/easing/easing.pro index 0d5eaf4386..b26ce30083 100644 --- a/examples/animation/easing/easing.pro +++ b/examples/animation/easing/easing.pro @@ -17,5 +17,6 @@ symbian { TARGET.UID3 = 0xA000E3F6 CONFIG += qt_example } +QT += widgets maemo5: CONFIG += qt_example diff --git a/examples/animation/easing/main.cpp b/examples/animation/easing/main.cpp index 66a6958cf2..0d63a3136e 100644 --- a/examples/animation/easing/main.cpp +++ b/examples/animation/easing/main.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "window.h" int main(int argc, char **argv) diff --git a/examples/animation/easing/window.h b/examples/animation/easing/window.h index 17899a422e..51fa00d859 100644 --- a/examples/animation/easing/window.h +++ b/examples/animation/easing/window.h @@ -38,7 +38,8 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> + #include "ui_form.h" #include "animation.h" 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 ee60e8fcc0..b82370dff6 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: CONFIG += qt_example 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 24d6976334..5c0d28163b 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: CONFIG += qt_example 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 |