Hi, I'm trying to link my system GL libraries in my rootfs but I've got the 
same error, even my GL lib (ubuntu 12.04 with no proprietary driver) contains 
"#include <X11/Xutil.h>"

I've this situation:
matteo@openembeddedpc:~/sysroot/usr/include$ ls -l | grep GL
drwxr-xr-x  2 matteo matteo   4096 Mar 13 19:53 EGL
drwxr-xr-x  3 matteo matteo   4096 Mar 13 20:03 GL
drwxr-xr-x  2 matteo matteo   4096 Mar 13 19:53 GLES
drwxr-xr-x  2 matteo matteo   4096 Mar 13 19:53 GLES2

Inside GL:
matteo@openembeddedpc:~/sysroot/usr/include/GL$ find | grep X11 *
glext.h:#define GL_MATRIX11_ARB                   0x88CB
glext.h:#define GL_SYNC_X11_FENCE_EXT             0x90E1
glx.h:#include <X11/Xlib.h>
glx.h:#include <X11/Xutil.h>
glxint.h:#include <X11/X.h>
glxint.h:#include <X11/Xdefs.h>

Inside EGL:
matteo@openembeddedpc:~/sysroot/usr/include/EGL$ find | grep X11 *
eglplatform.h:/* X11 (tentative)  */
eglplatform.h:#include <X11/Xlib.h>
eglplatform.h:#include <X11/Xutil.h>

This is with nVidia driver, but if I look inside my ubuntu system I've the same 
situation even with Vesa driver.

So, you say that in the Mesa driver I don't have the X11 include inside EGL/GL 
folder?
---
Matteo Brichese
Software Engineer
[email protected]
Came Cancelli Automatici S.p.A.
www.came.com
________________________________________
Da: [email protected] 
[[email protected]] per conto di Thiago 
Macieira [[email protected]]
Inviato: venerdì 22 marzo 2013 16.32
A: [email protected]
Oggetto: Re: [Development] [QT5] Configure error in QUrl

On sexta-feira, 22 de março de 2013 15.29.45, Matteo Brichese wrote:
> >>On sexta-feira, 22 de março de 2013 15.20.03, Matteo Brichese wrote:
> >> Hi, the EGL is provided by nvidia, so I don't think that I could get any
> >> mod.
> >
> >Can you compile Qt with the Mesa headers?
>
> I think yes, but compiling with Mesa header I will be able to have hardware
> acceleration from qt?

That's how you run, not how you compile.

As far as I know, the Mesa libraries are binary compatible with any other
vendor's, so you can replace them at runtime with an implementation with
hardware acceleration.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to