Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-29 Thread Benjamin TERRIER
Hi, Any reason for not setting RPATH to "$ORIGIN/libs" directly in the binary? Also putting Qt5Core.so in a relative path will cause trouble with plugins as when it is built it will have the plugin search path hardcoded as an absolute path. Is there a way to make the plugin search path relative?

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-27 Thread Thiago Macieira
On Sunday, 27 August 2017 01:44:43 PDT Jean-Michaël Celerier wrote: > LD_LIBRARY_PATH="$(dirname $0)/libs" ./myApp LD_LIBRARY_PATH="$(dirname $0)/libs${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" ... -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-27 Thread Jean-Michaël Celerier
> eg, issue with hard-coded path to binaries, ... A good solution for this (on linux!) is to ship your app as : app/myApp app/myApp.sh app/libs/libQt5Whatever.so ... and in myApp.sh have #!/bin/sh LD_LIBRARY_PATH="$(dirname $0)/libs" ./myApp This way you don't have any doubt on whether your ap

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-26 Thread Christian Gagneraud
On 27 August 2017 at 01:06, Jean-Michaël Celerier wrote: > I'd say that the simplest is to spin up a 32-bit docker image corresponding > to your OS and do the build on it. I didn't consider docker, but i did consider a 32 bits chroot and a 32 bits VM. The reason i didn't go this way is that i was

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-26 Thread Jean-Michaël Celerier
I'd say that the simplest is to spin up a 32-bit docker image corresponding to your OS and do the build on it. --- Jean-Michaël Celerier http://www.jcelerier.name On Sat, Aug 26, 2017 at 10:03 AM, Christian Gagneraud wrote: > On 26 August 2017 at 14:27, Oliver Niebuhr > wrote: > > Am 26.

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-26 Thread Christian Gagneraud
On 26 August 2017 at 14:27, Oliver Niebuhr wrote: > Am 26.08.2017 um 03:26 schrieb Christian Gagneraud: >> Hi there, >> >> I have an application that requires a 32 bits version of Qt-5.6 and >> fixing the 32 vs 64 bits issues of this app is not option at this >> stage. >> >> So I need to build Qt-

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-26 Thread Christian Gagneraud
On 26 August 2017 at 14:22, Thiago Macieira wrote: > On Friday, 25 August 2017 18:26:34 PDT Christian Gagneraud wrote: >> Is it possible to to build 32 bits Qt on 64 bits platform? Has anyone >> manage to do that? Any advice, tips or tricks to share? > > Sure. > > configure -platform linux-g++-32

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-25 Thread Thiago Macieira
On Friday, 25 August 2017 18:26:34 PDT Christian Gagneraud wrote: > Is it possible to to build 32 bits Qt on 64 bits platform? Has anyone > manage to do that? Any advice, tips or tricks to share? Sure. configure -platform linux-g++-32 [other args] -- Thiago Macieira - thiago.macieira (AT) intel

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-25 Thread Oliver Niebuhr
Am 26.08.2017 um 03:26 schrieb Christian Gagneraud: > Hi there, > > I have an application that requires a 32 bits version of Qt-5.6 and > fixing the 32 vs 64 bits issues of this app is not option at this > stage. > > So I need to build Qt-6.6 in 32 bits mode on a 64 bits Linux platfrom, > and the

[Interest] 32bits builds on 64bits Linux platform

2017-08-25 Thread Christian Gagneraud
Hi there, I have an application that requires a 32 bits version of Qt-5.6 and fixing the 32 vs 64 bits issues of this app is not option at this stage. So I need to build Qt-6.6 in 32 bits mode on a 64 bits Linux platfrom, and then i need to build and run my 32 bits app on the same 64 bits Linux p