[CMake] Current CVS CMake can't build Qt/Cocoa OS X bundle that doesn't crash

Clinton Stimpson clinton at elemtech.com
Tue May 11 14:23:42 EDT 2010


Just a thought: does it change anything if you make a softlink 
Versions/Current/Resources -> Resources in QtGui.framework?  The message says 
QtGui.framework/Versions/Current/Resources/ but when I last tried it, it was 
actually looking in QtGui.framework/Resources.  They may have changed/fixed 
that.

Clint


On Tuesday, May 11, 2010 11:03:48 am kent williams wrote:
> OS X 10.5.8, Qt-4.6.2, g++-4.2 gcc-4.2
> 
> ../cmake/bootstrap --prefix=/scratch/kent/opt --qt-gui
> --qt-qmake=/opt/Qt-4.6.2/bin/qmake
> make
> make install
> 
> /scratch/kent/opt/CMake\ 2.9-20100511.app/Contents/MacOS/CMake\
> 2.9-20100511 Qt internal error: qt_menu.nib could not be loaded. The .nib
> file
> should be placed in QtGui.framework/Versions/Current/Resources/  or in
> the resources directory of your application bundle.
> Abort
> 
> This looks like a different problem than the one I agonized over a
> couple weeks ago with respect to qt_menu.nib.  There is a qtmenu.nib:
> 
> /scratch/kent/opt/CMake
> 2.9-20100511.app/Contents/Frameworks/QtGui.framework/Resources/qt_menu.nib
> 
> ls -l /scratch/kent/opt/CMake\
> 2.9-20100511.app/Contents/Frameworks/QtGui.framework/Resources/qt_menu.nib
> total 32
> -rw-r--r--  1 kent  user  1451 May 11 11:52 classes.nib
> -rw-r--r--  1 kent  user   471 May 11 11:52 info.nib
> -rw-r--r--  1 kent  user  5567 May 11 11:52 keyedobjects.nib
> 
> What it looks like to me is that when the QtGui framework gets copied,
> something is messed up in the paths fixups during fixup_bundle.
> _______________________________________________
> 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