[Interest] Qt 4.7.1 windows printing crash/black results

Paul Miller paul at fxtech.com
Wed Feb 22 17:38:34 CET 2012


On 2/22/2012 10:25 AM, Paul Miller wrote:
> On 2/22/2012 10:08 AM, Paul Miller wrote:
>> 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.
>
> I whipped up a simple test program and it works fine. As far as I know
> the printing code in in my application is roughly equivalent, so I
> really don't know what is going wrong here.

FOUND IT!

I was drawing QImages with Format_RGB32 and I suppose somewhere down in 
the driver it was treating it as a 3-channel image (which it didn't do 
in 4.5). I switched my QImage to be ARGB32 and it works fine now.




More information about the Interest mailing list