[CMake] OsX bundle including Qt framework

Michael Jackson mike.jackson at bluequartz.net
Wed Feb 24 09:32:12 EST 2010


http://www.cmake.org/Wiki/BundleUtilitiesExample

___________________________________________________________
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       mike.jackson at bluequartz.net
BlueQuartz Software               Dayton, Ohio


On Feb 24, 2010, at 9:11 AM, Martin Guillon wrote:

> Hi,
>
> I use cmake to make an osx bundle of my qt application. During  
> install I copy qt framework from my qt install dir to the Frameworks  
> directory of my bundle.
> The problem I have now is that when using “ostool –L “ I see that my  
> executable look for qt frameworks in a dir which is the absolute  
> path to my qt install dir.
> What I want is for my executable to look in the “Frameworks”  
> directory of my bundle.
>
> Is there a way to do that directly during build using Cmake?
>
> Thanks
>
> MArtin
> _______________________________________________
> 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



More information about the CMake mailing list