[Interest] [PROGRESS] Long pause with 5.7

Michael Sué sue at sf.mpg.de
Tue Nov 8 16:00:04 CET 2016


Hi,

>       BaseClass::show();
>       qApp->flush();
>
>       // It appears that with Qt 5.7, SOMETIMES, this call to processEvents waits
>       // for the full 5 secs though I do not believe there is anything to do.
>       qApp->processEvents(QEventLoop::ExcludeUserInputEvents,5000);
>
>       if( sz.width() > 0 && sz.height() > 0 ) {
>           resize(sz);
>           move(pos);
>       }
>
>       raise();

Are the calls to qApp->flush() and processEvents necessary at all? I mean today, maybe you inserted them some major versions back in time, and never tried again without them after that.

-Michael.





More information about the Interest mailing list