[Qt-interest] Assertion error in qmenu.cpp

Bob Babcock wssddc at nospam.gis.net
Tue Mar 16 06:14:53 CET 2010


I have a menu that opens a non-modal dialog.  If I go back to the
menu after opening the dialog and just move the mouse through the
menu items, the program terminates with an assertion error:

ASSERT: "!(*watched)" in file widgets\qmenu.cpp, line 997

The error goes away if I use Qt::QueuedConnection in the connect
statement for the menu trigger (or in a release build).  What is
the assertion complaining about?  Queueing the connection sort of
makes sense in this context, but I don't see any documentation
saying it is required.

I'm running under XP, Qt 2010.02.1.



More information about the Qt-interest-old mailing list