The problem is the CMakeIngestOSXBundleLibraries.cmake script doesn't copy the Resource directory in the QtGui framework. It only copies the actual binary within the framework. And its a problem when using a cocoa based Qt.
It appears BundleUtilities.cmake has the same problem of not copying framework resources. Clint On Friday 04 December 2009 11:46:00 am Michael Jackson wrote: > And just to follow up more, using the autoconf system to build and > install cmake does not work either. Still missing the qt_menu.nib > file. What is the officially supported Qt version for to build CMake? > > > -- > Mike Jackson <www.bluequartz.net> > > On Dec 4, 2009, at 1:21 PM, Bill Hoffman wrote: > > Michael Jackson wrote: > >> I tried to build CMake 2.8.0 from source on OS X 10.5.8 Intel in > >> Release mode with Qt 4.5.3 (as cocoa frameworks). I did a "make > >> install" and when I try to double click the CMake 2.8-0.app bundle > >> I get the following error: > >> Process: CMake 2.8-0 [33756] > >> Path: /Users/Shared/Toolkits/CMake-2.8.0/CMake 2.8-0.app/ > >> Contents/MacOS/CMake 2.8-0 > >> Identifier: ??? > >> Version: () > >> Code Type: X86 (Native) > >> Parent Process: launchd [117] > >> Interval Since Last Report: 239 sec > >> Crashes Since Last Report: 2 > >> Per-App Interval Since Last Report: 10 sec > >> Per-App Crashes Since Last Report: 2 > >> Date/Time: 2009-12-04 13:05:45.281 -0500 > >> OS Version: Mac OS X 10.5.8 (9L30) > >> Report Version: 6 > >> Anonymous UUID: 06153638-985D-41A2-8E76-6C91571FB4C6 > >> Exception Type: EXC_CRASH (SIGABRT) > >> Exception Codes: 0x0000000000000000, 0x0000000000000000 > >> Crashed Thread: 0 > >> Thread 0 Crashed: > >> 0 libSystem.B.dylib 0x97315e42 __kill + 10 > >> 1 libSystem.B.dylib 0x9738823a raise + 26 > >> 2 libSystem.B.dylib 0x97394679 abort + 73 > >> 3 QtCore 0x0045ab35 > >> qt_message_output(QtMsgType, char const*) + 149 > >> 4 QtCore 0x0045b415 qFatal(char > >> const*, ...) + 101 > >> 5 QtGui 0x009e76d2 > >> qt_init(QApplicationPrivate*, int) + 1922 > >> 6 QtGui 0x00a4aa3d > >> QApplicationPrivate::construct() + 77 > >> 7 QtGui 0x00a4ad96 > >> QApplication::QApplication(int&, char**, int) + 102 > >> 8 0x00006a5e main + 142 > >> 9 0x00005766 start + 54 > >> Thread 0 crashed with X86 Thread State (32-bit): > >> eax: 0x00000000 ebx: 0x97394639 ecx: 0xbffff3fc edx: 0x97315e42 > >> edi: 0x00000003 esi: 0x00000000 ebp: 0xbffff418 esp: 0xbffff3fc > >> ss: 0x0000001f efl: 0x00000286 eip: 0x97315e42 cs: 0x00000007 > >> ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 > >> cr2: 0xa088e690 > >> Was this seen before? Am I trying some configuration that was not > >> supported? If I try the app bundle in the build directory then it > >> launches ok. I checked the app executable using otool and those > >> links seem ok. > >> Ljasdlk;faskj;asdfkjahsdhfjlasjklxdfhjaslkdf > >> Never mind, the Bundle Utilities with CMake 2.6.4 didn't copy the > >> qt_menu.nib file. Doh. Rough day today.. > > > > Does the binary from www.cmake.org work? > > > > -Bill > > _______________________________________________ > 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