[Interest] Qt 4.7.1 windows printing crash/black results

Paul Miller paul at fxtech.com
Wed Feb 22 17:08:59 CET 2012


Hey folks - anyone seen any weird printing issues on Windows with Qt 4.7.1?

My code hasn't changed since I was using Qt 4.5 for all this, but I 
upgraded to 4.7.1 for this release and when I print a QImage on windows 
it's crashing down in the QPainter::end() method, way down in 
QRasterPixmapData::copy().

It's working fine when I print to Qt's PDF printer, but is crashing when 
I print to my Adobe PDF printer driver (with a debug build). It prints 
black on another user's machine (not running in debug mode).

My next step is to build a test program that hopefully shows the problem 
but I'm hoping someone might know what's going on. I must reiterate the 
code used to work with older versions of Qt.

Cheers!




More information about the Interest mailing list