Hi Mike,

Thanks for your email!

You made me realize that I was building static libraries... That was the main reason why I had some troubles.

Note that I had to add in CompleteBundle.cmake.in the following lines (to remove some warnings with cmake):

IF( COMMAND CMAKE_POLICY )
     CMAKE_POLICY( SET CMP0011 NEW )
ENDIF( COMMAND CMAKE_POLICY )

Have a good day,
Arnaud

On 08/17/2009 08:32 PM, Mike Jackson wrote:
The fixup bundle function _should_ be taking care of any dylib or
framework that is linked to your application. If the function is NOT
doing this then either we need better instructions, updated
instructions or the function has been mis-used. I am betting a little
bit of all of that.

  I use the fixup bundle myself in all my Qt based apps and have no
problems relocating the app bundles to other computers.

To help diagnose the problems you need to provide a few things.

First, run "make install" so that the app bundle will be created.
Next run "otool -L {path/to/your.app/Contents/MacOS/yourapp" and post
the result back to the list.

Next post the output of "Make install" so we can see the output of the
BundleUtilities run.

---
Mike

On Mon, Aug 17, 2009 at 5:54 PM, ML<mailingli...@mailnewsrss.com>  wrote:
Hi Arnaud,

I am trying to make a stand alone bundle OS X application using CMake. My
application is based on Qt4.5.

I have been following the following wiki page (with QtTest example):
http://www.cmake.org/Wiki/BuildingOSXApplications

This bundle application works perfectly on a machine where Qt is
installed, but it could not be deployed on any other machine (without qt
installed). I could not figure out how to use the fixup_bundle function to
tackle this problem. Can anyone help, please?
IIRC you need to do this:

http://doc.trolltech.com/4.5/deployment-mac.html

-Jason
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to