[Interest] Qt5, XCB and X11

Koehne Kai Kai.Koehne at digia.com
Fri Jul 11 11:32:23 CEST 2014


> -----Original Message-----
> [...]
> Does anyone out there have any recommendations about how we should
> approach this? 

Just that the -qt-xcb setup has worked pretty well for the Qt SDK, so far. It was basically the outcome of a discussion I rasied on the xcb mailing list, before the 5.0 release:

http://lists.freedesktop.org/archives/xcb/2012-October/007928.html

But then again, we don't claim to support all distributions out there ...

> Here’s a list of options we’ve considered but which seem
> similarly flawed:
> 
> 1.	Compile the dependencies statically so that they become embedded
> in our own exe. This doesn’t really address the issue of there being two
> copies of them in memory, plus Qt looks for libxcb.so to link against
> dynamically, so I don’t believe this is even possible.

My bet would also be that that ain't work because you will most likely end up with the dynamic libX11 library be pulled in somehow. But that's just my best guess :)

> 2.	Don’t ship libxcb / libX11 at all (we have tested this on relatively up-
> to-date systems like Ubuntu 13 with success, but we aren't able to run on
> SLED11 if we do this and we are unfortunately constrained in this regard)

You've been saying SLED11 has xcb, but "does not provide up-to-date versions" of it. Does that mean Qt doesn't compile at all on SLED11 ? Or just that the static libraries compiled in with -qt-xcb don't run on it?

Maybe you can provide a specific build for this platform? Or 'downgrade' the xcb libs that are part of Qt sources to a compatible version? 

Regards

Kai


More information about the Interest mailing list