Main Window Menus don't work on OSX [SOLVED]
I'm writing code on a Mac with OSX 10.8.4 and QT Creator 5.0.1 as well as MSVC with Windows 7. The QT examples with menus compile and display flawlessly on Windows but the main window menus don't show up on the mac! for some reason the context menu example shows a context menu, but not a main menu.
When I open a desktop gui project (the top one in the choices), the compiler makes code for a main menu, but this does not show up in the compiled program!
This looks like a bug to me. In any event I will be MOST grateful if anybody can help me get this to work on my system.
Do you mean the menu does not show merged with the Mac menu at the top of the screen?
Right. I just see a window with no menu bar across the top. Here's what I see.
"Your text to link here: http://markewhite.com/qt-main-window-on-my-mac/
If for some reason you get to the home page, just look at the menu on the top and click on "QT Main windo on My Mac" and you'll see an image of my program's output.
Don't mind the Fiction Intensives stuff. I'm designing a web site for my writing professor.
OK, I am still new to Qt myself but I am developing an app that must run on the Mac. No menu bar in the main window is normal for a Mac. The default is to merge it with the Main menu bar at the top of the screen. Apparently Qt does all it can to make this happen. It will not look like a standard Windows application. Mac rules right...
Here is a link to some documentation about this there are some suggestions for how to change the defaults.
There is a Mac group so if you post there you might get more suggestions. If I find anything more useful I will post again.
I hope this helps.
Thanks a ton!!! I can't believe I overlooked the menus at the top of the screen. Since the windows were pretty small, I never thought to look up there, especially since the tool bars appeared in the small window.
But, hey, who's complaining. thank God I don't have to do parallel development in VS and Objective C.
And thanks for letting me know about the Mac group.
My pleasure, glad to be of some help.