[Qt-interest] QtConcurrent::run results in random crashes

Justus Best just18 at gmx.de
Wed Jul 28 12:14:51 CEST 2010


Am 28.07.2010 11:37, schrieb Oliver.Knoll at comit.ch:

> It is relatively expensive, yes! This is because the "pixel data alignment" could be completely different on the hardware (QPixmap uses the "native hardware format") and the software (QImage), even though you are dealing in both cases with "32bit RGBA" data.

Okaj, but it seems that I will have to live with it, as I got rid of the 
random crashes with the use of QImage ;).

And thanks for all your comments, I googled a bit and it looks like you 
really shoudn't use QPixmap outside the gui thread even if you don't 
manipulate pixel !

Justus



More information about the Qt-interest-old mailing list