[Qt-interest] change cursor of widget in main thread from another thread

Serge mb0 at km.ru
Wed Oct 7 07:04:03 CEST 2009


Hi,

i have second thread in my app, which is doing some job from time to 
time. when it is doing job, i need to change a shape of application 
widgets' cursors.

if i change a cursor using QWidget::setCursor method call from second 
thread, i receive assert fail in QT 4.5. It says that i can not send 
signals from one thread to the other. How can second thread control 
shape of widget cursor?

--
Serge



More information about the Qt-interest-old mailing list