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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
