I am using PyQt 5 for a GUI app, and I am having a threading issue. There is a close button and once it is clidked, a QTimer starts and then it waits in a while loop that is conditioned on a value of a variable in which is being incremented in the QTimer handler. The problem is that the
Tag: qtimer
Error “QObject::startTimer: QTimer can only be used with threads started with QThread” many times when closing application
I know this has been asked many times before. I read all of those threads, and my case seems different. Everybody else who has this trouble has a few straightforward causes that I think I’ve ruled out, such as: Starting a timer with no event loop running Starting/stopping a timer from a thread other than the one that created the