[Qt-interest] ASSERT: "!activationRecursionGuard"

Gilberto Cuba Ricardo gilbert at hlg.rimed.cu
Tue Feb 23 21:38:38 CET 2010


Hola QT Mailing LIST,

     I'm a new Qt's user and I'm programming a Qt application that is
     a system tray icon with a contextual menu.
     The contextual menu have more options and the most options don't
     raise the windows, but i try to add a new option that raise a
     windows. All this work fine.
     My problem is that when i click the option that raise a windows,
     this work fine and i don't close this windows, but when i try to
     execute another option this assert is raised:

     ---------------------
     Qt error in systray application

     Program: ...
     Module: 4.5.0
     File: global\qglobal.cpp
     Line: 1994

     ASSERT: "!activationRecursionGuard" in file widgets\qmenu.cpp, line 959
     ---------------------

     Any suggestion for stop this assert or other pointers?

-- 
Thanks,
 Gilbert





More information about the Qt-interest-old mailing list