Re: [Development] Qt 5 and old versions of XCB

2012-03-19 Thread Craig.Scott
On 18/03/2012, at 5:46 PM, Thiago Macieira wrote: I asked about xcb on the LSB mailing list and early responses suggest that although xcb has been mentioned there before, it doesn't sound like it's progressed much beyond that. Dropping support for xlib and relying on xcb would thus make Qt5 a non

Re: [Development] Qt 5 and old versions of XCB

2012-03-19 Thread Hugo Parente Lima
On Sunday 18 March 2012 14:12:14 Bradley Smith wrote: > > opensuse 11.1 was released in 2008. that's a lot more than 18 months. > > Yes, openSUSE 11.1 was released Dec. 18, 2008, but it was updated as > recently as Jan 13, 2011. This makes the last supported update only a > little over 14 months o

Re: [Development] Qt 5 and old versions of XCB

2012-03-19 Thread Thiago Macieira
On segunda-feira, 19 de março de 2012 01.56.24, Giuseppe D'Angelo wrote: > 2012/3/19 Bradley Smith : > >> "What is the minimum version of XCB required for Qt 5?" > >> > >> It appears that libxcb-1.5 and xcb-proto-1.6 are required. These releases > >> were announced Dec 3 2009 and Dec 2 2009 respect

Re: [Development] Qt 5 and old versions of XCB

2012-03-18 Thread Giuseppe D'Angelo
2012/3/19 Bradley Smith : >> "What is the minimum version of XCB required for Qt 5?" >> >> It appears that libxcb-1.5 and xcb-proto-1.6 are required. These releases >> were announced Dec 3 2009 and Dec 2 2009 respectively. >> >> Does anyone have a way to determine how wide spread libxcb >= 1.5 has

Re: [Development] Qt 5 and old versions of XCB

2012-03-18 Thread Bradley Smith
> > "What is the minimum version of XCB required for Qt 5?" > > It appears that libxcb-1.5 and xcb-proto-1.6 are required. These releases > were announced Dec 3 2009 and Dec 2 2009 respectively. > > Does anyone have a way to determine how wide spread libxcb >= 1.5 has > become in the last 15 mon

Re: [Development] Qt 5 and old versions of XCB

2012-03-18 Thread Bradley Smith
"What is the minimum version of XCB required for Qt 5?" It appears that libxcb-1.5 and xcb-proto-1.6 are required. These releases were announced Dec 3 2009 and Dec 2 2009 respectively. Does anyone have a way to determine how wide spread libxcb >= 1.5 has become in the last 15 months? _

Re: [Development] Qt 5 and old versions of XCB

2012-03-18 Thread Craig.Scott
>> >> >> >>Every Linux distro uses X.org, which uses XCB. >> >> >> >> Including openSUSE 11.1, but just any XCB is not enough. It needs to be >>more recent than some version. For users with an incompatible version of >>XCB, I think we can provide a better user experience than hitting >>compiler er

Re: [Development] Qt 5 and old versions of XCB

2012-03-18 Thread Thiago Macieira
On domingo, 18 de março de 2012 20.10.51, lars.kn...@nokia.com wrote: > Solving the problem of old distro's is not that hard. All that's required > is to link xcb statically into the platform plugin. This is something that > can be done, it can even be made rather simply in the Qt build system. No

Re: [Development] Qt 5 and old versions of XCB

2012-03-18 Thread lars.knoll
On 3/18/12 6:28 PM, "ext Bradley Smith" wrote: > > > >Every Linux distro uses X.org, which uses XCB. > > > > Including openSUSE 11.1, but just any XCB is not enough. It needs to be >more recent than some version. For users with an incompatible version of >XCB, I think we can provide a better use

Re: [Development] Qt 5 and old versions of XCB

2012-03-18 Thread Bradley Smith
> > Every Linux distro uses X.org, which uses XCB. > Including openSUSE 11.1, but just any XCB is not enough. It needs to be more recent than some version. For users with an incompatible version of XCB, I think we can provide a better user experience than hitting compiler errors when buildi

Re: [Development] Qt 5 and old versions of XCB

2012-03-18 Thread Bradley Smith
> > opensuse 11.1 was released in 2008. that's a lot more than 18 months. > Yes, openSUSE 11.1 was released Dec. 18, 2008, but it was updated as recently as Jan 13, 2011. This makes the last supported update only a little over 14 months old. Yes, it is an old system, but it's not ancient. :) _

Re: [Development] Qt 5 and old versions of XCB

2012-03-18 Thread Olivier Goffart
On Sunday 18 March 2012 11:43:02 craig.sc...@csiro.au wrote: > That's fine when you are only building an application to run on your > machine, but for people who want to distribute Qt5 apps, this would be an > undesirable solution. You'd end up having to ship the xcb libraries as well > as those l

Re: [Development] Qt 5 and old versions of XCB

2012-03-17 Thread Thiago Macieira
On domingo, 18 de março de 2012 12.03.17, craig.sc...@csiro.au wrote: > > I'm sorry, but we can't keep supporting very old systems. By the time of > > the release, OpenSUSE 11.1 will be 18 months old or older. > > Wow. are you suggesting that we're only interested in ensuring Qt5 runs > on sys

Re: [Development] Qt 5 and old versions of XCB

2012-03-17 Thread Craig.Scott
On 18/03/2012, at 12:03 PM, Robin Burchell wrote: > On Sun, Mar 18, 2012 at 1:43 AM, wrote: >> I asked about xcb on the LSB mailing list and early responses suggest that >> although xcb has been mentioned there before, it doesn't sound like it's >> progressed much beyond that. Dropping suppor

Re: [Development] Qt 5 and old versions of XCB

2012-03-17 Thread Robin Burchell
On Sun, Mar 18, 2012 at 2:03 AM, wrote: > Wow. are you suggesting that we're only interested in ensuring Qt5 runs > on systems that 18 months old or newer? That's going to make a lot of > enemies. opensuse 11.1 was released in 2008. that's a lot more than 18 months. ___

Re: [Development] Qt 5 and old versions of XCB

2012-03-17 Thread Robin Burchell
On Sun, Mar 18, 2012 at 1:43 AM, wrote: > I asked about xcb on the LSB mailing list and early responses suggest that > although xcb has been mentioned there before, it doesn't sound like it's > progressed much beyond that. Dropping support for xlib and relying on xcb > would thus make Qt5 a no

Re: [Development] Qt 5 and old versions of XCB

2012-03-17 Thread Craig.Scott
On 18/03/2012, at 11:53 AM, Thiago Macieira wrote: > On domingo, 18 de março de 2012 11.43.02, craig.sc...@csiro.au wrote: >> That's fine when you are only building an application to run on your >> machine, but for people who want to distribute Qt5 apps, this would be an >> undesirable solution.

Re: [Development] Qt 5 and old versions of XCB

2012-03-17 Thread Thiago Macieira
On domingo, 18 de março de 2012 11.43.02, craig.sc...@csiro.au wrote: > That's fine when you are only building an application to run on your > machine, but for people who want to distribute Qt5 apps, this would be an > undesirable solution. You'd end up having to ship the xcb libraries as well > as

Re: [Development] Qt 5 and old versions of XCB

2012-03-17 Thread Craig.Scott
On 18/03/2012, at 9:58 AM, Pier Luigi wrote: > 2012/3/17 Bradley Smith : >> >>> The workaround for systems that don't meet the minimum requirements is to >>> upgrade. Running brand, new and bleeding edge Qt 5 on an old system is not >>> a >>> target for us. Simply upgrade -- at the very least th

Re: [Development] Qt 5 and old versions of XCB

2012-03-17 Thread Pier Luigi
2012/3/17 Bradley Smith : > >> The workaround for systems that don't meet the minimum requirements is to >> upgrade. Running brand, new and bleeding edge Qt 5 on an old system is not >> a >> target for us. Simply upgrade -- at the very least the requirements. > > Is it possible to upgrade just XCB?

Re: [Development] Qt 5 and old versions of XCB

2012-03-17 Thread Bradley Smith
> The workaround for systems that don't meet the minimum requirements is to > upgrade. Running brand, new and bleeding edge Qt 5 on an old system is not > a > target for us. Simply upgrade -- at the very least the requirements. > Is it possible to upgrade just XCB? Upgrading the OS from OpenSU

Re: [Development] Qt 5 and old versions of XCB

2012-03-16 Thread Robin Burchell
2012/3/17 Thiago Macieira : > That one hasn't got much attention and it might not work. The XCB plugin is > the recommended one, as it is one of the reference platforms. see also: http://codereview.qt-project.org/#change,20091 which will probably land sometime soonish _

Re: [Development] Qt 5 and old versions of XCB

2012-03-16 Thread Thiago Macieira
On sexta-feira, 16 de março de 2012 16.47.18, 1+1=2 wrote: > Hi, > > How about the xlib plugin? That one hasn't got much attention and it might not work. The XCB plugin is the recommended one, as it is one of the reference platforms. The workaround for systems that don't meet the minimum requirem

Re: [Development] Qt 5 and old versions of XCB

2012-03-16 Thread 1+1=2
changed to "qtbase\src\plugins\platforms\xlib", and run qmake make the plugin will be generated. Then, you can set Environment variable "QT_QPA_PLATFORM" to "xlib" or simply pass command line options "-platform xlib" to your application. Regards, Debao On Fri, Mar 16, 2012 at 5:04 PM, Bradley

Re: [Development] Qt 5 and old versions of XCB

2012-03-16 Thread 1+1=2
Hi, How about the xlib plugin? Regards, Debao On Fri, Mar 16, 2012 at 3:45 PM, Bradley Smith wrote: > OpenSUSE 11.1 appears to use libxcb-1.1. This version of XCB is too > old for Qt 5 and gives compile errors. > > What is the minimum version of XCB required for Qt 5? What is the > recommended

[Development] Qt 5 and old versions of XCB

2012-03-16 Thread Bradley Smith
OpenSUSE 11.1 appears to use libxcb-1.1. This version of XCB is too old for Qt 5 and gives compile errors. What is the minimum version of XCB required for Qt 5? What is the recommended workaround for using Qt 5 on a Linux system which doesn't meet the minimum requirements? Thanks, Bradley _