summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2018-08-01 08:38:59 +0200
committerMichal Klocek <michal.klocek@qt.io>2018-08-03 11:01:10 +0000
commit9a2448a292f6c1d3f134c39be2a01acea3cef982 (patch)
treeaa7855bdcc30704e413565ba55e3b63a2df9cec8 /src/core
parent5d79af42e1e442ef67b3f1c87ae75d60a22ef9fc (diff)
GLOzoneEGLQt: Fix build with -no-opengl
Change-Id: Ic9b10175b48f993deda77a77bbfcf22f41e31598 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ozone/gl_ozone_egl_qt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ozone/gl_ozone_egl_qt.cpp b/src/core/ozone/gl_ozone_egl_qt.cpp
index bc7b2b756..2fa86d79b 100644
--- a/src/core/ozone/gl_ozone_egl_qt.cpp
+++ b/src/core/ozone/gl_ozone_egl_qt.cpp
@@ -55,6 +55,8 @@
#include <EGL/egl.h>
#include <dlfcn.h>
+#include <QtGui/qtgui-config.h> // for QT_NO_OPENGL
+
#ifndef QT_NO_OPENGL
#include <QOpenGLContext>
QT_BEGIN_NAMESPACE