[Interest] Best practice to packages on Ubuntu with QtIF

Igor Mironchik igor.mironchik at gmail.com
Mon Feb 22 07:55:02 CET 2016


Hi,

On 22.02.2016 09:22, Koehne Kai wrote:
>
>> -----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

Interesting, but "QMAKE_RPATHDIR += ." doesn't work. It require full 
path to work correctly...



More information about the Interest mailing list