[Qt-interest] Help with Mac OS X Deployment

Peter Lee ptle at risingsoftware.com
Mon Jul 13 16:28:14 CEST 2009


You'll have to use the 'install_name_tool' and 'otool' utilities in OS X 
to ensure that your Qt library can find the Qt frameworks.

Use 'otool -L <library>' to work out what framworks / libraries your 
library is depending on... and then you can use 'install_name_tool 
-change' to change those to entries that make sense for your bundle and 
library.  You'll also need to look at the Qt frameworks... and change 
their dependencies as well.  They'll all be referring to 
/Library/Frameworks etc.  They will also probably need their id changed 
as well - 'install_name_tool -id'.

I'm not sure if macdeployqt handles a library - from your message I take 
it that it doesn't - but you could possibly hack it up to cope with your 
situation.

Regards,

Peter Lee

Grant Hickey wrote:
> Hi
>
> I am looking for some help in trying to deploy Qt with my Mac OS X
> I have a non-Qt Application, a non-Qt plugin for my application, a Mac 
> OS X framework written in XCODE which is a non-Qt Wrapper for a 
> dynamic library written in Qt.
> My non-Qt Plugin goes in  separate folder with my application and the 
> Framework goes into my application bundle but I am looking for help on 
> how I can deploy Qt with
> my application so that everything works. I have tried to work the the 
> deployment tools but since I do not have a Qt application things do 
> not seem to be working to well.
>
> Grant Hickey
> grant.hickey at gmail.com
>
>
> ------------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   

-- 
Peter Lee                                       ptle at risingsoftware.com
-----------------------------------------------------------------------
Rising Software Australia Pty. Ltd.      http://www.risingsoftware.com/
Publishers of 'Auralia' - Ear Training and 'Musition' - Theory Training
Ph: +61 3 9481 3320  FAX: +61 3 9481 3380  USA Freecall: 1 888 667 7839 





More information about the Qt-interest-old mailing list