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?
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
> 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
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
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.
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-
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
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
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
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
10 matches
Mail list logo