[Qt-interest] Debug build of Qt abort with ASSERT

Bob Babcock wssddc at nospam.gis.net
Mon May 17 05:35:59 CEST 2010


Nikos Chantziaras <realnc at arcor.de> wrote in 
news:hsom0l$5o6$1 at eple.troll.no:

> When building against the debug version of Qt 4.6.2, my application 
> sometimes aborts with:
> 
>    ASSERT: "!(*watched)" in file widgets/qmenu.cpp, line 997
> 
> Is it me, or could this be a Qt bug?

I have also seen this with several version of Qt including 4.7 beta 1.  The 
way I trigger it is to open a non-modal dialog from a menu, then go back to 
the menu and move the mouse over the menu items.  I do not understand 
what's wrong, but it goes away if I use Qt::QueuedConnection in the 
connects for the menu.



More information about the Qt-interest-old mailing list