[oe] [meta-qt5][RFC] qtbase: fix build for gles2 enabled by PACKAGECONFIG

2013-10-28 Thread Andreas Müller
While playing around with QtQuick I needed gles2 support. Doing so I faced tons of error messages as mentionet in patch. It is caused by include chain: EGL/egl.h -> EGL/eglplatform.h -> X11/Xlib.h -> X.h In X.h we find definitions like #ifndef None #define None 0L /* universal nu

[oe] [meta-qt5][RFC] qtbase: fix build for gles2 enabled by PACKAGECONFIG

2013-10-28 Thread Andreas Müller
Signed-off-by: Andreas Müller --- ...-reorder-includes-to-fix-build-with-eglfs.patch | 238 + recipes-qt/qt5/qtbase.inc | 1 + 2 files changed, 239 insertions(+) create mode 100644 recipes-qt/qt5/qtbase-5.1.1/0027-reorder-includes-to-fix-build-with

Re: [oe] [meta-qt5][RFC] qtbase: fix build for gles2 enabled by PACKAGECONFIG

2013-10-29 Thread Martin Jansa
On Tue, Oct 29, 2013 at 12:06:15AM +0100, Andreas Müller wrote: > While playing around with QtQuick I needed gles2 support. Doing so I faced > tons > of error messages as mentionet in patch. It is caused by include chain: > > EGL/egl.h -> EGL/eglplatform.h -> X11/Xlib.h -> X.h > > In X.h we find

Re: [oe] [meta-qt5][RFC] qtbase: fix build for gles2 enabled by PACKAGECONFIG

2013-10-29 Thread Andreas Müller
On Tue, Oct 29, 2013 at 8:07 AM, Martin Jansa wrote: > On Tue, Oct 29, 2013 at 12:06:15AM +0100, Andreas Müller wrote: >> While playing around with QtQuick I needed gles2 support. Doing so I faced >> tons >> of error messages as mentionet in patch. It is caused by include chain: >> >> EGL/egl.h -

Re: [oe] [meta-qt5][RFC] qtbase: fix build for gles2 enabled by PACKAGECONFIG

2013-10-29 Thread Martin Jansa
On Tue, Oct 29, 2013 at 09:14:09AM +0100, Andreas Müller wrote: > On Tue, Oct 29, 2013 at 8:07 AM, Martin Jansa wrote: > > On Tue, Oct 29, 2013 at 12:06:15AM +0100, Andreas Müller wrote: > >> While playing around with QtQuick I needed gles2 support. Doing so I faced > >> tons > >> of error messag