Hi,
On 22.02.2016 11:51, Nikos Chantziaras wrote:
That will not work. The rpath needs to be $ORIGIN. A string. Not a
variable that is expanded.
Also, I used the wrong syntax before. Escaping this string is
difficult since it contains an "$". This should work:
That will not work. The rpath needs to be $ORIGIN. A string. Not a
variable that is expanded.
Also, I used the wrong syntax before. Escaping this string is difficult
since it contains an "$". This should work:
QMAKE_LFLAGS=-Wl,-rpath,\'\$\$ORIGIN\'
If you use that one, you should find
In my Makefile I have:
LFLAGS= -Wl,-O1 -Wl,-rpath,/home/igor/Qt/5.5/gcc_64
-Wl,-rpath,${ORIGIN} -Wl,-rpath,/home/igor/Qt/5.5/gcc_64/lib
On 22.02.2016 10:26, Nikos Chantziaras wrote:
That doesn't do anything useful. It just uses an absolute path. If you
move the executable to a
That doesn't do anything useful. It just uses an absolute path. If you
move the executable to a different directory, it stops working.
You can verify that by looking at the Makefile. For example, here, this:
QMAKE_RPATHDIR += ${ORIGIN}
becomes:
-Wl,-rpath,/home/realnc/projects/myapp/
Hi,
Got it:
QMAKE_RPATHDIR += ${ORIGIN}
On 22.02.2016 10:11, Nikos Chantziaras wrote:
On 22/02/16 08:55, Igor Mironchik wrote:
On 22.02.2016 09:22, Koehne Kai wrote:
You should rather utilize rpath, and set it e.g. to $ORIGIN
https://en.wikipedia.org/wiki/Rpath
Interesting, but
On 22/02/16 08:55, Igor Mironchik wrote:
On 22.02.2016 09:22, Koehne Kai wrote:
You should rather utilize rpath, and set it e.g. to $ORIGIN
https://en.wikipedia.org/wiki/Rpath
Interesting, but "QMAKE_RPATHDIR += ." doesn't work. It require full
path to work correctly...
qmake doesn't
Hi,
On 22.02.2016 09:22, Koehne Kai wrote:
-Original Message-
From: Interest [mailto:interest-
bounces+kai.koehne=theqtcompany@qt-project.org] On Behalf Of Igor
Mironchik
Sent: Monday, February 22, 2016 5:56 AM
To: interest@qt-project.org
Subject: [Interest] Best practice to
> -Original Message-
> From: Interest [mailto:interest-
> bounces+kai.koehne=theqtcompany@qt-project.org] On Behalf Of Igor
> Mironchik
> Sent: Monday, February 22, 2016 5:56 AM
> To: interest@qt-project.org
> Subject: [Interest] Best practice to packages on Ubuntu with QtIF
>
> Hi,
Hi,
What is the best practices to create packages on Ubuntu with QtIF?
I'm interested in one stuff: if my application consists of executable
and shared libraries, so to application start I have to "export
LD_LIBRARY_PATH=." in working directory. So my question is it possible
to set