[Qt-interest] deployqt

Richard richardmg at trolltech.com
Thu Jan 22 09:53:29 CET 2009


> My application name contains spaces and digits(Ex: my App 4.3). When  
> i removed this spaces and digits from the bundle name (ex: myApp),  
> it copied all the Qt libraries to contents folder.But i don't wish  
> to change the application name.Is there any way to run deployqt for  
> my application "my App 4.3"?

Have the name of the app and exe the same when running macdeployqt,  
and do the renaming you need afterwards.

>
>
> Another problem i found is-I'm using many other libraries (done by  
> us) inside our application.Each of them using Qt libraries. Is it  
> possible to copy each of our libraries to application's frameworks  
> folder using deployqt?How can i ran deployqt for my each dylibs  
> which uses inside our application ?Where i get more informatin about  
> deployqt?
>

No. macdeployqt cannot recursively scan/deploy other libraries your  
application depend on. You will need to fix that yourself (use otool  
and install_name_tool for this)

-Richard

>
> --- On Wed, 21/1/09, Richard <richardmg at trolltech.com> wrote:
>
>> From: Richard <richardmg at trolltech.com>
>> Subject: Re: [Qt-interest] deployqt
>> To: "QT Interest List" <qt-interest at trolltech.com>
>> Date: Wednesday, 21 January, 2009, 5:47 PM
>> From the code, I see that the name of the executable should
>> be the same as the name of the bundle (excluding .app).
>> So if the name of your bundle is myApp.app, the name of the
>> exe should be myApp. If this is not the case for you, try
>> renaming the exe.
>>
>> -Richard
>>
>>
>>
>>
>> On Jan 21, 2009, at 12:57 PM, vinitha ks wrote:
>>
>>> yes i can run the application.The executable is in
>> MacOS folder.
>>>
>>> --- On Wed, 21/1/09, Richard
>> <richardmg at trolltech.com> wrote:
>>> From: Richard <richardmg at trolltech.com>
>>> Subject: Re: [Qt-interest] deployqt
>>> To: "QT Interest List"
>> <qt-interest at trolltech.com>
>>> Date: Wednesday, 21 January, 2009, 1:49 PM
>>>
>>>> "Error: Could not find bundle binary for
>> "myApp.app"
>>>> "otool: can't open file: (No such file or
>> directory).
>>>> I tried by giving full path too,but same error.
>>>
>>> The message informs that it cannot find the executable
>> binary inside myApp.app. The binary should be located in
>> MyApp.app/Contents/MacOS/
>>>
>>> Are you able to run your application at all, before
>> trying to deploy it? It sounds like you haven't build
>> it, or perhaps the build failed?
>>>
>>> -Richard
>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>>
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>> Unlimited freedom, unlimited storage. Get it
>> now_______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>>
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>      Connect with friends all over the world. Get Yahoo! India  
> Messenger at http://in.messenger.yahoo.com/?wm=n/
>
>
> _______________________________________________
> 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