diff options
Diffstat (limited to 'examples/widgets')
-rw-r--r-- | examples/widgets/painting/shared/arthurwidgets.cpp | 2 | ||||
-rw-r--r-- | examples/widgets/windowcontainer/windowcontainer.cpp | 2 | ||||
-rw-r--r-- | examples/widgets/windowcontainer/windowcontainer.pro | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/widgets/painting/shared/arthurwidgets.cpp b/examples/widgets/painting/shared/arthurwidgets.cpp index c7c851270b..e24130e464 100644 --- a/examples/widgets/painting/shared/arthurwidgets.cpp +++ b/examples/widgets/painting/shared/arthurwidgets.cpp @@ -62,8 +62,8 @@ #include <QRegularExpression> #include <QOffscreenSurface> #include <QOpenGLContext> -#include <QOpenGLPaintDevice> #if QT_CONFIG(opengl) +#include <QtOpenGL/QOpenGLPaintDevice> #include <QtOpenGL/QOpenGLWindow> #endif diff --git a/examples/widgets/windowcontainer/windowcontainer.cpp b/examples/widgets/windowcontainer/windowcontainer.cpp index b920c85420..f7c146e2a9 100644 --- a/examples/widgets/windowcontainer/windowcontainer.cpp +++ b/examples/widgets/windowcontainer/windowcontainer.cpp @@ -60,7 +60,7 @@ #include <QWidget> -// Making use of the class from the opengl example in gui. +// Making use of the class from the openglwindow example class Window : public OpenGLWindow { Q_OBJECT diff --git a/examples/widgets/windowcontainer/windowcontainer.pro b/examples/widgets/windowcontainer/windowcontainer.pro index 9ac7e4a5ab..664ac938a2 100644 --- a/examples/widgets/windowcontainer/windowcontainer.pro +++ b/examples/widgets/windowcontainer/windowcontainer.pro @@ -6,4 +6,4 @@ QT += widgets target.path = $$[QT_INSTALL_EXAMPLES]/widgets/windowcontainer INSTALLS += target -include(../../gui/openglwindow/openglwindow.pri) +include(../../opengl/openglwindow/openglwindow.pri) |