On 6/11/2021 10:32 PM, Thiago Macieira wrote:
On Friday, 11 June 2021 14:10:57 PDT Max Paperno wrote:
while (!gotResponse)
sleep(1) // or whatever sleep method, just waiting for a response.
NEVER EVER sleep.
Insert a "return" here and let your slot be called when the time is right.
Right, too much Python lately... "should" have been `processEvents()`
which is when I realized there were no events to process w/out a Qt loop
in the first place. Returning from main() wouldn't have solved the
issue though.
-Max
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest