I'm also struggling with this problem and none of these workarounds work for us here !
Copying he folder qt_menu.nib to the application's resources directory doesn't work here either.
Why is that ? Are there additional conditions to be satisfied ? (Time stanp of the files or so).
It still has the condition ....:qtMenuLoader] == false.
Using the last fix from Greame Gill let's start the application but the menu doesn't work.
Obviously that's because the else branch is not run.
I modified this by putting away the 'else' meaning:
if ([NSBundle loadNibNamed:@"qt_menu" owner:qtMenuLoader] == false)
qFatal("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.");
[cocoaApp setMenu:[qtMenuLoader menu]];
This way necessary initializations are done and our application menu works, BUT still not
We have several main windows having different application menus.
Depending which window has the focus the application menu is different.
Now it works for the initial window but NOT for the other ones.
When closing the application there's also a segmentation fault.
This is a big problem for us and a showstopper for our MAC edition !
Dear QT team (or any other in the forum), please help me to solve that problem !