[Qt-interest] Deploying bundles in Mac Os X results in segmentation fault
Richard
richardmg at trolltech.com
Wed Apr 15 08:42:04 CEST 2009
Qt-4.5 is shipped with a tool called macdeployqt that can prepare the
bundle for release for you.
-Richard
(NB: Your problem is _probably_ that Qt tries to load image plugins
during runtime that you did not release with your bundle, and instead
gets picked up elsewhere. Set the environment variable
"DYLD_PRINT_LIBRARIES_POST_LAUNCH=1" before running you app to check
which plugins that gets loaded.)
Den Apr 14, 2009 kl. 11:34 PM skrev Vittorio Giovara:
> Hi all!
>
> I have a little problem at deploying an application for the
> Macintosh systems.
>
> I've followed the guides for deploying http://doc.trolltech.com/4.4/deployment-mac.html#macdeploy
> for every framework i used, but when i launched the program it
> would just crash.
>
> then i tried to launch the same bundle, with Qt in the Frameworks
> directory, in a system where there was no Qt installed at: to much of
> my surprise it worked, and worked really well!
>
> a few other trials, confirmed this: if the application with the
> frameworks is launched in a system that has the QT SDK installed, it
> would just crash; otherwise it would work just fine.
>
> do know what might be the cause?
>
> thanks a lot for your help
> bye
> Vittorio
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090415/ffc4d389/attachment.html
More information about the Qt-interest-old
mailing list