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

2012-11-08 Thread Koehne Kai
ai.koehne=digia@qt-project.org] On > Behalf Of Thiago Macieira > Sent: Friday, October 26, 2012 4:45 PM > To: development@qt-project.org > Subject: Re: [Development] xcb-icccm dependency in Qt 5/libxcb > > On sexta-feira, 26 de outubro de 2012 13.29.29, Koehne Kai wrote:

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

2012-10-26 Thread Thiago Macieira
On sexta-feira, 26 de outubro de 2012 13.29.29, Koehne Kai wrote: > So, in summary linking statically against system libxcb-* does only work on > Ubuntu 32 bit so far, which obviously doesn't cut it. We could try to > import xcb into src/3rdparty, and compile from there , but it's unclear to > me w

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

2012-10-26 Thread Koehne Kai
ect: Re: [Development] xcb-icccm dependency in Qt 5/libxcb > > On quinta-feira, 25 de outubro de 2012 09.00.40, Koehne Kai wrote: > > https://codereview.qt-project.org/#change,38146 Actually the whole patch falls apart on Ubuntu 64 bit: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6

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

2012-10-25 Thread Thiago Macieira
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 > le

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

2012-10-25 Thread Samuel Rødal
5, 2012 11:33 AM >> To: Thiago Macieira; development@qt-project.org >> Subject: Re: [Development] xcb-icccm dependency in Qt 5/libxcb >> >> [..] >> If system xlib is not xlib-xcb, it won't work properly if there are xlib >> calls >> anywhere. >

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

2012-10-25 Thread Konstantin Tokarev
October 25, 2012 11:33 AM >>  To: Thiago Macieira; development@qt-project.org >>  Subject: Re: [Development] xcb-icccm dependency in Qt 5/libxcb >> >>  [..] >>  If system xlib is not xlib-xcb, it won't work properly if there are xlib >> calls >>  anyw

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

2012-10-25 Thread Koehne Kai
ject.org > Subject: Re: [Development] xcb-icccm dependency in Qt 5/libxcb > > [..] > If system xlib is not xlib-xcb, it won't work properly if there are xlib calls > anywhere. Interesting. So far I thought xlib and xcb are completely independent, but it seems at least on Ubunt

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

2012-10-25 Thread Konstantin Tokarev
22.10.2012, 18:58, "Thiago Macieira" : > On segunda-feira, 22 de outubro de 2012 16.16.57, Konstantin Tokarev wrote: > >>  22.10.2012, 15:53, "Koehne Kai" : >>>  Hi, >>> >>>  In Qt 5 we're relying on libxcb instead of the aging xlib. One drawback is >>>  that it limits the portability of Qt binar

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

2012-10-25 Thread Koehne Kai
Re: [Development] xcb-icccm dependency in Qt 5/libxcb > [ ...] > There's another: "static" link the XCB libraries into the plugin. > > You need to have the libxcb-*.a files with -fPIC, that's all. Hi, I've come up with this patch so far: https://coderevi

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

2012-10-22 Thread Thiago Macieira
On segunda-feira, 22 de outubro de 2012 16.16.57, Konstantin Tokarev wrote: > 22.10.2012, 15:53, "Koehne Kai" : > > 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

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

2012-10-22 Thread Koehne Kai
> -Original Message- > From: Olivier Goffart [mailto:oliv...@woboq.com] > Sent: Monday, October 22, 2012 2:08 PM > To: development@qt-project.org > Cc: Koehne Kai > Subject: Re: [Development] xcb-icccm dependency in Qt 5/libxcb > > [...] > If you already hav

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

2012-10-22 Thread Koehne Kai
Re: [Development] xcb-icccm dependency in Qt 5/libxcb > > On 10/22/2012 01:53 PM, Koehne Kai wrote: > > 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 i

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

2012-10-22 Thread Koehne Kai
> -Original Message- > From: Giuseppe D'Angelo [mailto:dange...@gmail.com] > Sent: Monday, October 22, 2012 2:14 PM > To: Koehne Kai > Cc: development@qt-project.org > Subject: Re: [Development] xcb-icccm dependency in Qt 5/libxcb > > On 22 October 2012 13:5

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

2012-10-22 Thread Konstantin Tokarev
22.10.2012, 15:53, "Koehne Kai" : > 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 Q

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

2012-10-22 Thread Giuseppe D'Angelo
On 22 October 2012 13:53, Koehne Kai wrote: > 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 What's exactly the issue you're facin

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

2012-10-22 Thread Samuel Rødal
On 10/22/2012 01:53 PM, Koehne Kai wrote: > 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 port

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

2012-10-22 Thread Olivier Goffart
On Monday 22 October 2012 11:53:32 Koehne Kai wrote: > 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 some

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

2012-10-22 Thread Konstantin Tokarev
22.10.2012, 15:53, "Koehne Kai" : > 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 Q

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

2012-10-22 Thread Koehne Kai
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