Here is the reason:
QMenu objects used in the native menu bar are not able to handle
"show", "hide", and "mouse move" events. Reimplementations of
showEvent(), hideEvent(), andmouseMoveEvent() in QMenu subclasses will
not be called for menus used in this way.
from http://doc.trolltech.com/4.3/mac-differences.html
So the aboutToShow signal/slot mechanism is needed on Mac.
Stefan
Am 09.03.2008 um 13:11 schrieb Stefan Schimanski:
Am 09.03.2008 um 13:03 schrieb Abdelrazak Younes:
Stefan Schimanski wrote:
Mac has lost the menu contents. They appear in the menubar, but
the popup does not appear.
I'll try to investigate. '-dbg gui' should give you some hints of
what's going wrong.
I know. It seems that the showEvent handler is never called for the
GuiPopupMenu. No idea why.
Stefan