PDA

View Full Version : Bug in QPrinter in Qt 4.4.0beta1?



Teuniz
12th March 2008, 09:38
I know it's still a betaversion but still...

Can anybody confirm the following bug in Qt 4.4.0 beta1:

When I use drawText() when painting on a QPrinter object, the string
will not be printed when it is longer than 194 characters.

This bug happens only when printing to a real printer and with
windows. Printing to PDF or Postscript works fine with windows.

Printing to a printer with Linux works fine with strings longer than
194 characters to the same printer.

I'm using the Qt 4.4.0beta1 with MinGW compiler and Windows XP.
The printer is a HP Laserjet 4100 networkprinter.

I attached a small project that demonstrates the bug.

Regards,

Teunis