[Interest] Qt 4.7.1 windows printing crash/black results

Bo Thorsen bo at fioniasoftware.dk
Wed Feb 22 17:49:20 CET 2012


Den 22-02-2012 17:38, Paul Miller skrev:
> 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.

Sounds like a bug. Will you put this in the bug tracker?

Bo Thorsen,
Fionia Software.

-- 

Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk



More information about the Interest mailing list