qthread

Qthread with continuation

I want to make a thread controller that will run the same object Worker several times. How do I do this? Below is an example ... d, this, [] (int i) { qDebug() << "finish" << i; }); _c.start(); } MainWindow::~MainWindow() { delete ui; }

PyQt5 QThread launching a gif in time for the function to work

Please help with displaying the GIF while the function is running. In the code clipping below, my code outline, in the interp ... "print"ов выяснил, что вот это не происходит app = QApplication(sys.argv) MW = MainWindow() MW.show() sys.exit(app.exec_())