r41378 and after, images in Gmail become black squares on Qt 4.4.2/4.5. r41357 is OK. I suspect r41358 is the culprit, but may be different.
Backing out the change for ImageQt.cpp in r41358 fixed the issue.
This does not appear to happen with ToT anymore. Please re-open with more details if it still happens for you :)