[Development] R: [QT5] Configure error in QUrl

Matteo Brichese mbrichese at came.it
Fri Mar 22 18:02:28 CET 2013


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 at 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 at 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 at 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
mbrichese at came.it
Came Cancelli Automatici S.p.A.
www.came.com
________________________________________
Da: development-bounces+mbrichese=came.it at qt-project.org [development-bounces+mbrichese=came.it at qt-project.org] per conto di Thiago Macieira [thiago.macieira at intel.com]
Inviato: venerdì 22 marzo 2013 16.32
A: development at qt-project.org
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



More information about the Development mailing list