[Interest] Best practice to packages on Ubuntu with QtIF
Koehne Kai
Kai.Koehne at theqtcompany.com
Mon Feb 22 07:22:03 CET 2016
> -----Original Message-----
> From: Interest [mailto:interest-
> bounces+kai.koehne=theqtcompany.com at qt-project.org] On Behalf Of Igor
> Mironchik
> Sent: Monday, February 22, 2016 5:56 AM
> To: interest at qt-project.org
> Subject: [Interest] Best practice to packages on Ubuntu with QtIF
>
> 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 LD_LIBRARY_PATH automatically? How can it be done?
Technically, you could provide a wrapper (myapp.sh). But you shouldn't do that.
You should rather utilize rpath, and set it e.g. to $ORIGIN
https://en.wikipedia.org/wiki/Rpath
Regards
Kai
> Thank you.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list