I found how to capture the event when the computer goes into screen lock. At that time I need to send a signal to the server. The program suspends before the data can be sent. It's a small message, probably about 10 bytes. Using qDebug, I can see that line of code is being executed at screen lock, but the data isn't making it. How can I keep it running long enough to finish the transmission?
Bookmarks