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: qthread
Multithreading updating with multiple windows in pyqt5
I’m trying to have a timer going that I can use to update values in multiple windows with pyqt5. What I have so far, the main window opens with buttons to open the other windows, but when I press either button, it crashes. The number of threads is printed out. I have also tried putting in each AnotherWindow(2) init function,
Why does PyQt crashes without information? (exit code 0xC0000409)
I’m trying to develop a software with PyQt, but I often get stuck on software crashes without debug information (only the exit code 0xC0000409). I’m using QThread, and I wrote a system like this: I have crashes when I read/write serialEnabled in run() or in ConnDisconn(). I know that PyQt is not thread-safe and that a wrong handling of variables
Signal emitting in Python causes exit code 139
Im trying to make function, which passes 8 values to the progress bars in window app made with QtDesigner. That is there is a function which actually generates this values. I want to execute it every second in order to get theese values and update progress bars which displays values. I combined tutorials about making a graphic app with Python
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