22.10.2012, 18:58, "Thiago Macieira" <thiago.macie...@intel.com>: > On segunda-feira, 22 de outubro de 2012 16.16.57, Konstantin Tokarev wrote: > >> 22.10.2012, 15:53, "Koehne Kai" <kai.koe...@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.
If system xlib is not xlib-xcb, it won't work properly if there are xlib calls anywhere. -- Regards, Konstantin _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development