summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformscreen.h
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@qt.io>2016-11-08 16:02:01 +0100
committerAndy Nichols <andy.nichols@qt.io>2016-11-17 14:59:47 +0000
commit1b905b3fa4955e26b39aaa51b0ca47e9c05e680b (patch)
treed17513037673b80299555034b9550a3c01b2eb8e /src/gui/kernel/qplatformscreen.h
parente3ed95dd44b95b6e9361b562807e711d7ce5a58b (diff)
Enable building EGLFS and MinimalEGL with QT_NO_OPENGL
It is possible to have support for EGL without having support for OpenGL for example with OpenVG. Unfortanately many features of EGLFS require OpenGL (Cursor, MultiWindow, QEGLPlatformContext, QBackingStore), so the plugins become pretty useless on their own. This is necessary if you still want to use Qt as a method to provide an EGL surface to render to via QWindow. This is the method by which Qt Quick uses OpenVG to render its content when available. Change-Id: I34973b21bf1932865950ce6a78b71b3a29360d65 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformscreen.h')
-rw-r--r--src/gui/kernel/qplatformscreen.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformscreen.h b/src/gui/kernel/qplatformscreen.h
index 030edea880..2d3cbaf170 100644
--- a/src/gui/kernel/qplatformscreen.h
+++ b/src/gui/kernel/qplatformscreen.h
@@ -66,7 +66,6 @@ QT_BEGIN_NAMESPACE
class QPlatformBackingStore;
-class QPlatformOpenGLContext;
class QPlatformScreenPrivate;
class QPlatformWindow;
class QPlatformCursor;