[Qt-creator] lib search path

Duane duane.hebert at group-upc.com
Thu Jul 19 16:17:49 CEST 2012


On 07/19/2012 07:42 AM, eike.ziller at nokia.com wrote:
>
> On 19 Jul 2012, at 13:00, ext Diego Iastrubni wrote:
>
>>
>> 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
>
> You can also just run "make bindist" in the qt creator build. That creates a deployable bundle that includes the Qt that you used to compile Qt Creator.
>

Thanks for all of the suggestions.  We decided to just deploy the Qt 
libs in usr/lib.  This seems to work.




More information about the Qt-creator mailing list