[Development] src/plugins/platforms/eglfs compilation error

Thiago Macieira thiago.macieira at intel.com
Mon Dec 30 22:26:58 CET 2013


On segunda-feira, 30 de dezembro de 2013 21:20:06, David Faure wrote:
> Xlib.h is included by 
> src/3rdparty/angle/include/EGL/eglplatform.h

> I do have /usr/include/EGL/egl.h btw.

What provides it? I'm guessing you have a non-Mesa GL driver then.

The Mesa-provided EGL/eglplatform.h has this:

#ifdef MESA_EGL_NO_X11_HEADERS

typedef void            *EGLNativeDisplayType;
typedef khronos_uint32_t EGLNativePixmapType;
typedef khronos_uint32_t EGLNativeWindowType;

#else

/* X11 (tentative)  */
#include <X11/Xlib.h>
#include <X11/Xutil.h>

typedef Display *EGLNativeDisplayType;
typedef Pixmap   EGLNativePixmapType;
typedef Window   EGLNativeWindowType;

#endif /* MESA_EGL_NO_X11_HEADERS */

And we have in eglfs.pri:
DEFINES += MESA_EGL_NO_X11_HEADERS

This explains why you're getting the error and others aren't.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131230/14ed4847/attachment.sig>


More information about the Development mailing list