summaryrefslogtreecommitdiffstats
path: root/examples/opengl/cube
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/cube')
-rw-r--r--examples/opengl/cube/cube.pro2
-rw-r--r--examples/opengl/cube/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/opengl/cube/cube.pro b/examples/opengl/cube/cube.pro
index a11aaf6bc7..652812b718 100644
--- a/examples/opengl/cube/cube.pro
+++ b/examples/opengl/cube/cube.pro
@@ -4,7 +4,7 @@
#
#-------------------------------------------------
-QT += core gui
+QT += core gui widgets
TARGET = cube
TEMPLATE = app
diff --git a/examples/opengl/cube/main.cpp b/examples/opengl/cube/main.cpp
index faac8a0bd8..e5b99e77e7 100644
--- a/examples/opengl/cube/main.cpp
+++ b/examples/opengl/cube/main.cpp
@@ -1,4 +1,4 @@
-#include <QtGui/QApplication>
+#include <QApplication>
#include <QLabel>
#ifndef QT_NO_OPENGL