Re: [Development] linuxdeployqt

2016-09-21 Thread Thiago Macieira
On quarta-feira, 21 de setembro de 2016 18:16:53 PDT Thiago Macieira wrote: > Unless we broke it with the new configure system. The commit by Ossi that > fixed it is getting reverted in 5.8. Sorry, reverted in dev. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel

Re: [Development] linuxdeployqt

2016-09-21 Thread Thiago Macieira
On quarta-feira, 21 de setembro de 2016 22:09:05 PDT Konstantin Tokarev wrote: > > $ ls /opt/poky/sysroots/*/etc/ld.so.conf > > /opt/poky/sysroots/aarch64-poky-linux/etc/ld.so.conf > > /opt/poky/sysroots/armv7a-neon-poky-linux-gnueabi/etc/ld.so.conf > >

Re: [Development] linuxdeployqt

2016-09-21 Thread Konstantin Tokarev
21.09.2016, 20:41, "Thiago Macieira" : > On quarta-feira, 21 de setembro de 2016 19:24:34 PDT Oswald Buddenhagen wrote: >>  > and you can then search the >>  > paths from /etc/ld.so.conf & /etc/ld.so.conf.d/*. >> >>  that will suffer from x-build issues again. > >

Re: [Development] linuxdeployqt

2016-09-21 Thread Thiago Macieira
On quarta-feira, 21 de setembro de 2016 19:24:34 PDT Oswald Buddenhagen wrote: > > and you can then search the > > paths from /etc/ld.so.conf & /etc/ld.so.conf.d/*. > > that will suffer from x-build issues again. Hmm... if we're cross-compiling, we should have access to the path to the sysroot,

Re: [Development] linuxdeployqt

2016-09-21 Thread Henry Skoglund
On 2016-09-21 17:02, Thiago Macieira wrote: On quarta-feira, 21 de setembro de 2016 11:06:59 PDT Konrad Rosenbaum wrote: RPath may be a bit tricky: normally Qt compiles it's lib path into RPath, but with a deploy script you do not want that RPath anymore, instead you'd want to change it to

Re: [Development] linuxdeployqt

2016-09-21 Thread Thiago Macieira
On quarta-feira, 21 de setembro de 2016 11:06:59 PDT Konrad Rosenbaum wrote: > RPath may be a bit tricky: normally Qt compiles it's lib path into RPath, > but with a deploy script you do not want that RPath anymore, instead you'd > want to change it to $ORIGIN (literally, not the value of a

Re: [Development] linuxdeployqt

2016-09-21 Thread Thiago Macieira
On quarta-feira, 21 de setembro de 2016 10:11:01 PDT probono wrote: > ldd not only provides the name of the libraries to be loaded, but also > the paths to the locations where they are loaded from. How would I get > this information without using ldd? Manually. First, use the environment

Re: [Development] linuxdeployqt

2016-09-21 Thread Konrad Rosenbaum
Hi, On Wed, September 21, 2016 10:11, probono wrote: > 2016-09-19 16:45 GMT+02:00 Louai Al-Khanji : >> From a quick look it seems to be mostly well written. I do wonder >> whether it might be better to use a tool other than ldd to find the >> library dependencies. objdump

Re: [Development] linuxdeployqt

2016-09-21 Thread probono
2016-09-19 16:45 GMT+02:00 Louai Al-Khanji : > From a quick look it seems to be mostly well written. I do wonder whether it > might be better to use a tool other than ldd to find the library > dependencies. objdump -p provides the same information, and also works for >

Re: [Development] linuxdeployqt

2016-09-19 Thread Konstantin Tokarev
19.09.2016, 19:06, "Thiago Macieira" : > On segunda-feira, 19 de setembro de 2016 17:58:22 PDT Kevin Kofler wrote: >>  Louai Al-Khanji wrote: >>  > From a quick look it seems to be mostly well written. I do wonder whether >>  > it might be better to use a tool other

Re: [Development] linuxdeployqt

2016-09-19 Thread Thiago Macieira
On segunda-feira, 19 de setembro de 2016 17:58:22 PDT Kevin Kofler wrote: > Louai Al-Khanji wrote: > > From a quick look it seems to be mostly well written. I do wonder whether > > it might be better to use a tool other than ldd to find the library > > dependencies. objdump -p provides the same

Re: [Development] linuxdeployqt

2016-09-19 Thread Kevin Kofler
Louai Al-Khanji wrote: > From a quick look it seems to be mostly well written. I do wonder whether > it might be better to use a tool other than ldd to find the library > dependencies. objdump -p provides the same information, and also works for > cross-compiles. It's not the same thing, ldd is

Re: [Development] linuxdeployqt

2016-09-19 Thread Thiago Macieira
On segunda-feira, 19 de setembro de 2016 14:45:14 PDT Louai Al-Khanji wrote: > From a quick look it seems to be mostly well written. I do wonder whether it > might be better to use a tool other than ldd to find the library > dependencies. objdump -p provides the same information, and also works

Re: [Development] linuxdeployqt

2016-09-19 Thread Louai Al-Khanji
Hi Simon, Nice! Looks like a good start. It’s something that’s definitely missing at the moment. You would likely get more people looking at it if you moved it over to Qt Code Review. Looking at the license headers, it looks like it is your intent that this could become part of Qt, and for

[Development] linuxdeployqt

2016-09-16 Thread probono
Hi all, I have been working on a deployment tool for Linux, linuxdeployqt, which I eventually would like to see merged into qttools.git. linuxdeployqt takes an application and makes it self-contained by copying in the Qt libraries and plugins that the application uses into a bundle. While based