[Interest] PDF creation issues with QT5

Rutledge Shawn Shawn.Rutledge at digia.com
Thu May 30 07:33:27 CEST 2013


Den 29 May 2013 kl. 8:01 PM skrev Israel Brewster:
> Well, after some effort and tweaking, I managed to get the QPrinter based approach working under Qt 5.1 - actually with code almost identical to my original code. I had to make the content narrower to fit on the page, since the setPageMargins command is (apparently) being ignored, resulting in a HUGE left margin that cut off the right side of my content.

I haven't kept track of the printing bugs very well, but if it seems like a new issue to you, please write up a new one.

> The QPDFWriter approach still misbehaves as it did in 5.0.x (I'll see if I can whip up a simple example app demonstrating that). Of course, 5.1 is currently unusable for me, not only because it is still beta, but because menus appear to be having issues - my quit and preferences functions are not properly merged into the application menu, and keyboard shortcuts in the menu are ignored when the cursor is in a text field. But that's a whole different issue.

Another bug has been written about that, and should be fixed before 5.1 RC1.

https://bugreports.qt-project.org/browse/QTBUG-31378




More information about the Interest mailing list