summaryrefslogtreecommitdiffstats
path: root/examples/embedded/raycasting
diff options
context:
space:
mode:
Diffstat (limited to 'examples/embedded/raycasting')
-rw-r--r--examples/embedded/raycasting/raycasting.cpp2
-rw-r--r--examples/embedded/raycasting/raycasting.pro1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/embedded/raycasting/raycasting.cpp b/examples/embedded/raycasting/raycasting.cpp
index d404044a9a..0a50fb0419 100644
--- a/examples/embedded/raycasting/raycasting.cpp
+++ b/examples/embedded/raycasting/raycasting.cpp
@@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
-#include <QtGui>
+#include <QtWidgets>
#include <math.h>
diff --git a/examples/embedded/raycasting/raycasting.pro b/examples/embedded/raycasting/raycasting.pro
index 83103a5aad..181eadf74c 100644
--- a/examples/embedded/raycasting/raycasting.pro
+++ b/examples/embedded/raycasting/raycasting.pro
@@ -11,3 +11,4 @@ target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/raycasting
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/raycasting
INSTALLS += target sources
+QT += widgets widgets