[Qt-interest] Making a MacOS application

Mike Jackson imikejackson at gmail.com
Mon Aug 10 15:56:54 CEST 2009


On 2009-08-09 08:45:18 -0400, Stefanos Antaris <santaris at csd.auth.gr> said:
> 
> On Aug 9, 2009, at 3:34 PM, John Clayton (gmail) wrote:
> 
>> Library not loaded: @executable_path/../Frameworks/libboost_system- 
>> xgcc40-mt-1_39.dylib
>> 
>> macdeployqt only handles the Qt dynamic libraries, you should read:
>> 	http://www.cocoadev.com/index.pl?ApplicationLinking
>> 
>> The basic idea is to copy the .dylib into your Frameworks directory  - 
>> then modify it such that it knows where it lives, and your  
>> Contents/MacOS/qbittorrent exe needs to be modified too, so it knows  
>> in which path to find that file.
> 
> I can modify the Framework and the .app using the site that you posted? 
> I am completely lost.It is the first time that i am doing something  
> like this.Sorry if i am making annoying questions.

The easiest way to solve the problem is to build boost as static 
libraries instead of Dynamic then you will not have to worry about 
copying the libraries into the .app bundle. This will make your 
executable larger but since it sounds like you are not going to deploy 
to anywhere other than your own system it is probably a decent choice.

---
Mike Jackson




More information about the Qt-interest-old mailing list