QPixmap: It is not safe to use pixmaps outside the GUI thread
问题 I am using PySide to make a GUI application. I have 3 classes: A QWidget class, a QThread Worker class and a controller for the Worker class. The GUI class creates a controller object that spawns a given number of worker threads, in that hierarchy: class Worker(QtCore.QThread): # Signal that tells the controller the current progress of the # thread. sig_worker_update_progress = QtCore.Signal(int, int) def __init__(self, thread_id, *args, **kwargs): super(Worker, self).__init__(*args, **kwargs