[Development] Is Xlib a hard requirement for Qt5 xcb?

Shaw Andy Andy.Shaw at digia.com
Tue Jul 30 13:47:13 CEST 2013


> On 30 Jul 2013, at 1:21 PM, Jørgen Lind wrote:
> 
> > From what I can remember, the xlib dependency was introduced into the
> > xcb backend because glx requires it, as it needs the xlib display.
> > Since most people want to use glx then it has become a defacto
> > dependency. Then it would seem that porting old functionality to the
> > xcb backend has been simplified by having the xlib dependency.
> 
> If it's only glx, then maybe the goal should be that xlib shouldn't be necessary
> when using EGL, or no OpenGL at all (in which case you could still have
> widgets anyway), right?

That would be good if we could do that, then it may be possible to get static builds "working" further on Linux. Currently the fact that xcb depends on EGL is making it difficult.

Andy



More information about the Development mailing list