QGuiApplication::processEvents() uses 100 percent of a single thread for processing QEventLoop solves the problem of heavy load