summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/boxes
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/boxes')
-rw-r--r--examples/graphicsview/boxes/boxes.pro2
-rw-r--r--examples/graphicsview/boxes/glbuffers.h2
-rw-r--r--examples/graphicsview/boxes/gltrianglemesh.h2
-rw-r--r--examples/graphicsview/boxes/main.cpp2
-rw-r--r--examples/graphicsview/boxes/qtbox.h2
-rw-r--r--examples/graphicsview/boxes/roundedbox.h2
-rw-r--r--examples/graphicsview/boxes/scene.h2
-rw-r--r--examples/graphicsview/boxes/trackball.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/examples/graphicsview/boxes/boxes.pro b/examples/graphicsview/boxes/boxes.pro
index 49de5a9e50..176bc3a1cf 100644
--- a/examples/graphicsview/boxes/boxes.pro
+++ b/examples/graphicsview/boxes/boxes.pro
@@ -27,7 +27,7 @@ SOURCES += 3rdparty/fbm.c \
RESOURCES += boxes.qrc
-QT += opengl
+QT += opengl widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/boxes
diff --git a/examples/graphicsview/boxes/glbuffers.h b/examples/graphicsview/boxes/glbuffers.h
index 6b18d3f128..1a53fa2c1a 100644
--- a/examples/graphicsview/boxes/glbuffers.h
+++ b/examples/graphicsview/boxes/glbuffers.h
@@ -45,7 +45,7 @@
//#include <GL/glew.h>
#include "glextensions.h"
-#include <QtGui>
+#include <QtWidgets>
#include <QtOpenGL>
#define BUFFER_OFFSET(i) ((char*)0 + (i))
diff --git a/examples/graphicsview/boxes/gltrianglemesh.h b/examples/graphicsview/boxes/gltrianglemesh.h
index ecf6531d85..f023938b7b 100644
--- a/examples/graphicsview/boxes/gltrianglemesh.h
+++ b/examples/graphicsview/boxes/gltrianglemesh.h
@@ -45,7 +45,7 @@
//#include <GL/glew.h>
#include "glextensions.h"
-#include <QtGui>
+#include <QtWidgets>
#include <QtOpenGL>
#include "glbuffers.h"
diff --git a/examples/graphicsview/boxes/main.cpp b/examples/graphicsview/boxes/main.cpp
index 483170801f..e7dced71d2 100644
--- a/examples/graphicsview/boxes/main.cpp
+++ b/examples/graphicsview/boxes/main.cpp
@@ -44,7 +44,7 @@
#include "scene.h"
-#include <QtGui>
+#include <QtWidgets>
#include <QGLWidget>
class GraphicsView : public QGraphicsView
diff --git a/examples/graphicsview/boxes/qtbox.h b/examples/graphicsview/boxes/qtbox.h
index 56b86a55bb..81ef8ae7d5 100644
--- a/examples/graphicsview/boxes/qtbox.h
+++ b/examples/graphicsview/boxes/qtbox.h
@@ -42,7 +42,7 @@
#ifndef QTBOX_H
#define QTBOX_H
-#include <QtGui>
+#include <QtWidgets>
#include <QtGui/qvector3d.h>
#include "glbuffers.h"
diff --git a/examples/graphicsview/boxes/roundedbox.h b/examples/graphicsview/boxes/roundedbox.h
index 54dda82000..e4e7c589d3 100644
--- a/examples/graphicsview/boxes/roundedbox.h
+++ b/examples/graphicsview/boxes/roundedbox.h
@@ -45,7 +45,7 @@
//#include <GL/glew.h>
#include "glextensions.h"
-#include <QtGui>
+#include <QtWidgets>
#include <QtOpenGL>
#include "gltrianglemesh.h"
diff --git a/examples/graphicsview/boxes/scene.h b/examples/graphicsview/boxes/scene.h
index 96ee908d58..357f955bb6 100644
--- a/examples/graphicsview/boxes/scene.h
+++ b/examples/graphicsview/boxes/scene.h
@@ -45,7 +45,7 @@
//#include <GL/glew.h>
#include "glextensions.h"
-#include <QtGui>
+#include <QtWidgets>
#include <QtOpenGL>
#include "roundedbox.h"
diff --git a/examples/graphicsview/boxes/trackball.h b/examples/graphicsview/boxes/trackball.h
index 097851a42c..cc3d5ade34 100644
--- a/examples/graphicsview/boxes/trackball.h
+++ b/examples/graphicsview/boxes/trackball.h
@@ -42,7 +42,7 @@
#ifndef TRACKBALL_H
#define TRACKBALL_H
-#include <QtGui>
+#include <QtWidgets>
#include <QtGui/qvector3d.h>
#include <QtGui/qquaternion.h>