> -----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, > > 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@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest