简体   繁体   中英

Application hangs inside a Qt function

At one point in the execution of our app, the app looks frozen and stops responding for about 40 seconds. After that it does exactly one thing (like moving the window app) and it's frozen again.

After a bit of investigation, I found what Qt function was causing the problem but I am not sure why. The question is why does the Qt function (which can be seen in the image below) causing so much trouble or could it help me to find the real culprit?

Visual Studio函数调用

Looks like an event that triggers it self in and endless loop. I had similar problems with calling qwidget->update() or qwidget->repaint() manually.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM