[Development] xcb-icccm dependency in Qt 5/libxcb

Thiago Macieira thiago.macieira at intel.com
Mon Oct 22 16:58:00 CEST 2012


On segunda-feira, 22 de outubro de 2012 16.16.57, Konstantin Tokarev wrote:
> 22.10.2012, 15:53, "Koehne Kai" <Kai.Koehne at digia.com>:
> > Hi,
> > 
> > In Qt 5 we're relying on libxcb instead of the aging xlib. One drawback is
> > that it limits the portability of Qt binaries on Linux (AFAIK xcb isn't
> > part of any LSB). But it turns out the real dealbreaker when trying to
> > have a somewhat portable Qt binary on Linux is libxcb-icccu: E.g. I can't
> > run a Qt compiled on Ubuntu 11.10 on my OpenSUSE 12.1 because of this
> > dependency, and the LSB appchecker even says it's not available on any
> > platform known to him.
> I think there's the only one clean way to deal with it: continue to support
> xlib qpa plugin in parallel with xcb.

There's another: "static" link the XCB libraries into the plugin.

You need to have the libxcb-*.a files with -fPIC, that's all.

-- 
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/20121022/0a85826e/attachment.sig>


More information about the Development mailing list