summaryrefslogtreecommitdiffstats
path: root/examples/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'examples/slideshow')
-rw-r--r--examples/slideshow/main.cpp2
-rw-r--r--examples/slideshow/slideshow.cpp2
-rw-r--r--examples/slideshow/slideshow.pro1
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/slideshow/main.cpp b/examples/slideshow/main.cpp
index 23aca43bd..ffa493f17 100644
--- a/examples/slideshow/main.cpp
+++ b/examples/slideshow/main.cpp
@@ -40,7 +40,7 @@
#include "slideshow.h"
-#include <QtGui>
+#include <QtWidgets>
int main(int argc, char *argv[])
{
diff --git a/examples/slideshow/slideshow.cpp b/examples/slideshow/slideshow.cpp
index 14d17ea6b..fea2ee64a 100644
--- a/examples/slideshow/slideshow.cpp
+++ b/examples/slideshow/slideshow.cpp
@@ -44,7 +44,7 @@
#include <qmediaplaylist.h>
#include <qvideowidget.h>
-#include <QtGui>
+#include <QtWidgets>
SlideShow::SlideShow(QWidget *parent)
: QMainWindow(parent)
diff --git a/examples/slideshow/slideshow.pro b/examples/slideshow/slideshow.pro
index bc3c208b3..c4cb38080 100644
--- a/examples/slideshow/slideshow.pro
+++ b/examples/slideshow/slideshow.pro
@@ -16,3 +16,4 @@ sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/slideshow
INSTALLS += target sources
+QT+=widgets