[Qt-interest] Making a MacOS application
Stefanos Antaris
santaris at csd.auth.gr
Sun Aug 9 14:45:18 CEST 2009
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.
>
> -
> j
>
> On 9/08/2009, at 2:26 PM, Stefanos Antaris wrote:
>
>> I have done macdeployqt qbittorrent.app/.The framework changed,the
>> plugins added but i still cannot run the application.The images are
>> on .qrc files.I don't know if it affects the whole process of
>> macdeployqt.Here is my MacReport.I hope it helps.
>>
>>
>> Process: qbittorrent [4683]
>> Path: /Users/santaris/Documents/qbittorrent/trunk/src/
>> qbittorrent.app/Contents/MacOS/qbittorrent
>> Identifier: com.yourcompany.qbittorrent
>> Version: ??? (???)
>> Code Type: X86 (Native)
>> Parent Process: launchd [65]
>>
>> Interval Since Last Report: 180 sec
>> Crashes Since Last Report: 1
>> Per-App Interval Since Last Report: 0 sec
>> Per-App Crashes Since Last Report: 1
>>
>> Date/Time: 2009-08-09 15:25:56.677 +0300
>> OS Version: Mac OS X 10.5.8 (9L30)
>> Report Version: 6
>> Anonymous UUID: 676C5C08-466E-4398-8E46-7C5256EA0537
>>
>> Exception Type: EXC_BREAKPOINT (SIGTRAP)
>> Exception Codes: 0x0000000000000002, 0x0000000000000000
>> Crashed Thread: 0
>>
>> Dyld Error Message:
>> Library not loaded: @executable_path/../Frameworks/libboost_system-
>> xgcc40-mt-1_39.dylib
>> Referenced from: /Users/santaris/Documents/qbittorrent/trunk/src/
>> qbittorrent.app/Contents/MacOS/qbittorrent
>> Reason: image not found
>>
>> On Aug 9, 2009, at 3:08 PM, John Clayton (gmail) wrote:
>>
>>> If you are using Qt 4.5.2, run the macdeployqt program on
>>> your .app file, it'll copy the Frameworks into the .app bundle -
>>> and all should be well.
>>>
>>>
>>>
>>> On 9/08/2009, at 1:19 PM, Stefanos Antaris wrote:
>>>
>>>> Hello.I am just trying to compile someone else code.He has made his
>>>> own .pro file.So.I have the following problem.I build it without
>>>> any
>>>> error.But i can't run it at all.The MacOS report says that it can't
>>>> load the images.I searched on .app Resources and there is no path
>>>> on
>>>> that images.Of course there is the right path on the code.Can
>>>> anyone
>>>> identify the problem?Should QtCreator pass the images on the .app
>>>> resources?
>>>> _______________________________________________
>>>> Qt-interest mailing list
>>>> Qt-interest at trolltech.com
>>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>
>
More information about the Qt-interest-old
mailing list