Disable GUI update for time-critical function

We a function with quite time-critical part. It would very nice to stop GUI update while this function is being executed. Is there any to do that?

Dear @Victor

I’m afraid here at Toradex we’re not Qt experts, so I can’t answer you this question.

But I would assume that the redrawing is done in a separate thread. Increasing the priority of your own thread high enough could be sufficient to get all the CPU time.
Have a look at CeSetThreadPriority() as a starting point.

Regards, Andy