[Interest] QSerialport EV_RXCHAR not emitted or catched while moving window

Samuel Gaist samuel.gaist at edeltech.ch
Thu Mar 15 12:53:36 CET 2012


On 15 mars 2012, at 12:37, Riccardo Roasio wrote:

> Hi,
> 
> i have a program with :
> 
> - a main thread
> - a serial manager thread using Qserialport
> 
> i noticed that if i move the main gui the EV_RXCHAR event is not fired
> or cached...
> 
> what's wrong?
> 
> thanks,
> Riccardo
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

Hi,

With so few information, we won't be really be able to help you.
But here is a few questions:
- How is your serial manager thread implemented ? (My guess: run reimplementation)
- Do you have signals slots directly connected ?

Hope this helps
Samuel

PS:
Did you also read this article ?
http://labs.qt.nokia.com/2010/06/17/youre-doing-it-wrong/

And there where a few discussions on the qt-nokia mailing list last year about threading, you might want to look for them




More information about the Interest mailing list