summaryrefslogtreecommitdiffstats
path: root/src/platformheaders/nativecontexts/qeglnativecontext.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2016-12-12 21:20:01 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2016-12-16 04:07:22 +0000
commit179045f36a16ce2f6cfaad1dbd9443b52b1bf8d3 (patch)
treebdd7b82a27e730c62912295352d84fad6fd8f39a /src/platformheaders/nativecontexts/qeglnativecontext.h
parent21f283b0f0fc360bf94e85d96e1dafc6eb55e1d8 (diff)
Silence platformheaders syncqt warning about qt_egl_p.hv5.8.0-rc1
Drop the include for qt_egl_p.h. For Qt itself this should have no effect since platform plugins including this header include EGL headers on their own anyway. Similarly, applications relying on such advanced functionality will likely include EGL/OpenGL headers on their own - the point is anyhow to interoperate with native, non-Qt EGL and GL code. This avoids a lot of hassle since normally no EGL (or other winsys interface API) bits are exposed in the public Qt APIs, and thus there are no public headers provided to set up EGL headers in the same way Qt does internally. Change-Id: Icdbc28811b753799abc06085bc8dff7f09bdbff9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/platformheaders/nativecontexts/qeglnativecontext.h')
-rw-r--r--src/platformheaders/nativecontexts/qeglnativecontext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/platformheaders/nativecontexts/qeglnativecontext.h b/src/platformheaders/nativecontexts/qeglnativecontext.h
index 697b3ef3fd..eae74126fd 100644
--- a/src/platformheaders/nativecontexts/qeglnativecontext.h
+++ b/src/platformheaders/nativecontexts/qeglnativecontext.h
@@ -41,7 +41,8 @@
#define QEGLNATIVECONTEXT_H
#include <QtCore/QMetaType>
-#include <QtEglSupport/private/qt_egl_p.h>
+
+// Leave including egl.h with the appropriate defines to the client.
QT_BEGIN_NAMESPACE