[Qt-interest] QApplication::ProcessEvent ASSERT problem activationRecursionGuard

Giancarlo Amati ilferraresebono at hotmail.it
Tue Apr 21 11:40:25 CEST 2009


Good morning everybody, I hope this will find an answer:

I have a menu voice which activate the following loop


    
    while(_mBoolStartCapture){
        QCoreApplication::processEvents();
        printf("pippo\n");
    }

Now, everything is fine. I can keep working and using my software untill I go back to the main manu and select another voice. Now, as soon as the mouse is over a voice and I click on it, it occurs this ASSERT message:

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


Now, I have three options: 1- Abort so i have to stop, 2- retry and 3 - ignore. Now for renty and Ignore, that's fine because I can keep my software working but having this message is a bit annoying and not really professional. So, how can I get rid of this and why this messages comes out?!

Kind Regards.
Giancarlo Amati

_________________________________________________________________
Le più cercate della settimana?
http://clk.atdmt.com/GBL/go/140630368/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090421/02460759/attachment.html 


More information about the Qt-interest-old mailing list