[Qt-creator] lib search path

Diego Iastrubni diegoiast at gmail.com
Thu Jul 19 13:00:03 CEST 2012


On Thu, Jul 19, 2012 at 1:50 PM, Duane Hebert <duane.hebert at group-upc.com>wrote:

> **
> I installed Qt from the SDK.  It works fine on my desktop.  But when I
> install my application on our target controller, it doesn't find them
> unless I put them in /usr/lib.
> BTW I would just do this but one of our guys says that libs should be in
> usr/local/lib.  Is there any reason for this?
>


If you deploy the QtLibs with your application into a non standard lib you
might want to wrap your binary with a shell script which set
LD_LIBRARY_PATH.

You might also read these docs:
http://qt-project.org/doc/qt-4.8/deployment.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120719/dd3c07cd/attachment.html>


More information about the Qt-creator mailing list