1 From 8902f4d7b7c532592d1a34ad117698d3e380e9e1 Mon Sep 17 00:00:00 2001
2 From: Peter Seiderer <ps.report@gmx.net>
3 Date: Fri, 10 Mar 2017 22:23:06 +0100
4 Subject: [PATCH] eglfs: fix x11 header related compile failure
6 Add egl config and QT_EGL_NO_X11 define (as all other eglfs project
9 Task-number: QTBUG-59427
10 Change-Id: Ifbb11eae0fdf0e58c0b7feecb9a7914a889c8f77
12 Upstream: https://codereview.qt-project.org/188158
13 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
15 src/plugins/platforms/eglfs/eglfs-plugin.pro | 5 +++++
16 1 file changed, 5 insertions(+)
18 diff --git a/src/plugins/platforms/eglfs/eglfs-plugin.pro b/src/plugins/platforms/eglfs/eglfs-plugin.pro
19 index cf4863975a..ec229796e5 100644
20 --- a/src/plugins/platforms/eglfs/eglfs-plugin.pro
21 +++ b/src/plugins/platforms/eglfs/eglfs-plugin.pro
22 @@ -2,6 +2,11 @@ TARGET = qeglfs
24 QT += eglfsdeviceintegration-private
28 +# Avoid X11 header collision, use generic EGL native types
29 +DEFINES += QT_EGL_NO_X11
31 SOURCES += $$PWD/qeglfsmain.cpp
33 OTHER_FILES += $$PWD/eglfs.json