[PyQt] QImage and the GIL

Martin Altmayer martin.altmayer at web.de
Thu Mar 12 17:24:59 GMT 2015


Hello,

I use a separate thread to open and scale a large set of images. 
Unfortunately, with PyQt5 the main thread blocks while an image is 
loaded (it did work in PyQt4). I believe that the reason is that the 
QImage-constructor and QImage.scale do not release the GIL. Wouldn't it 
be better if they did?

Thanks,
Martin


More information about the PyQt mailing list