[Interest] Rendering timing of qt

Thiago Macieira thiago.macieira at intel.com
Mon Jun 25 16:50:50 CEST 2018


On Monday, 25 June 2018 06:54:12 PDT Lodron, Gerald wrote:
> another idea what i have is to inherite of a qlabel, reimplement paint event
> and set a mutex before.... then i should be able to call repaint
> (hopefully?) from other thread... or i simply do nothing in paint event and
> make my own paint member function which i call from remote... i will test
> this tomorrow...

You cannot call repaint from another thread. You cannot touch any GUI function 
from another thread.

In fact, you don't need threads for your application. Remove them.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list