On 07/09/2010, at 7:41 PM, Carlos Gonçalves wrote:
> Hi Nick,
>
> On 2010/09/07, at 08:39, Nick Taylor wrote:
>
>> Hi.
>>
>> I'm trying to build PySide 0.4.1 on OS X for eventual packaging and
>> distribution in an .app bundle.
>
> An .app bundle? Not sure that's the best approach to follow.
I'd like to package Qt and PySide into an app I'm writing so it can be
distributed as a single bundle.
>
> Yes, you need to export DYLD_LIBRARY_PATH to the install directory, but
> aren't you missing a '$' before {install_dir}? Please refer to
> http://www.cgoncalves.info/trash/pyside/macosx/createpackage to check how I'm
> building and packaging PySide.
I used your script and built everything successfully (I'm not sure what it did
differently - I must have missed something), but I'm still having difficulty
with the PySide module finding the dylibs (Library not loaded:
libpyside.0.4.dylib). Is there a way I can build the module and statically link
it to the dylibs so they are no longer required?
>
> And since you are compiling PySide on Mac OS X, patch it in advance with
> http://qt.gitorious.org/pyside/pyside/merge_requests/253 (not merged into
> mainline yet).
Thanks for that tip.
>
> Carlos Gonçalves
Thanks for all your help so far.
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside