[Development] xcb-icccm dependency in Qt 5/libxcb
Thiago Macieira
thiago.macieira at intel.com
Thu Oct 25 15:54:50 CEST 2012
On quinta-feira, 25 de outubro de 2012 09.00.40, Koehne Kai wrote:
> https://codereview.qt-project.org/#change,38146
>
> A couple of notes:
> - I'm trying to not only link libxcb-icccm statically, but all libxcb-*
> libs.
> - it still leaves a general libxcb.so dependency on Ubuntu 11.10 at
> least, which libXext adds
Good. Don't try to use libxcb.a then, since we'd have two copies of it in
memory.
> - I'm (mis)using QMAKE_LIBS because entries in
> LIBS are resorted alphabetically.
> - It requires a gnu linker (-Wl,-Bstatic
> etc)
Actually, it requires that you remove libxcb-*.so...
I also thought you could use:
-static -lxcb-icccm -shared -lxcb
In any case, -Wl,-Bstatic is acceptable.
> - It obviously requires .a files, which e.g. Ubuntu has, OpenSUSE doesn't
> - It's fragile :( The alternative is importing the xcb libs into qt itself
> (3rdparty), which might or might not be a lot of (maintenance) work...
--
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/20121025/7e51bbb1/attachment.sig>
More information about the Development
mailing list