summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglwidget.cpp
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-12-11 14:50:40 +0100
committerJohan Klokkhammer Helsing <johan.helsing@qt.io>2020-01-22 09:40:59 +0100
commitf3ecda32e0f7bd21b44e7737d2939dcce2c26517 (patch)
treea9e51f4d507b3b0d92a742157e3c654999cde2fa /src/opengl/qopenglwidget.cpp
parent06bb315beb6c2c398223cfe52cbc7f66e14a8557 (diff)
Move QOpenGLPaintEngine and related classes from QtGui to QtOpenGL
Also moves the openglwindow test to the opengl folder, as it makes use of these classes. Task-number: QTBUG-74409 Change-Id: Id9f0013cedcc8bd1e87122c005641d7298525045 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/opengl/qopenglwidget.cpp')
-rw-r--r--src/opengl/qopenglwidget.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/opengl/qopenglwidget.cpp b/src/opengl/qopenglwidget.cpp
index a6c63ae034..91e9fd545d 100644
--- a/src/opengl/qopenglwidget.cpp
+++ b/src/opengl/qopenglwidget.cpp
@@ -45,14 +45,16 @@
#include <QtGui/QWindow>
#include <QtGui/QGuiApplication>
#include <QtGui/QScreen>
-#include <QtGui/QOpenGLPaintDevice>
#include <QtGui/qpa/qplatformwindow.h>
#include <QtGui/qpa/qplatformintegration.h>
+#include <QtOpenGL/QOpenGLPaintDevice>
+
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/private/qopenglextensions_p.h>
#include <QtGui/private/qfont_p.h>
-#include <QtGui/private/qopenglpaintdevice_p.h>
#include <QtGui/private/qopenglcontext_p.h>
+#include <QtOpenGL/private/qopenglpaintdevice_p.h>
+
#include <QtWidgets/private/qwidget_p.h>
QT_BEGIN_NAMESPACE