PDA

View Full Version : How I setup QPrinter paper margins



vcp
14th May 2008, 19:01
Hi,

I don't know as configure margins using qprinter. And I need a lot know how I do this.

Please anybody help-me?

jpn
14th May 2008, 19:36
Please take a look at the great docs before asking ;) QPrinter::setPageMargins()

vcp
15th May 2008, 17:38
This function don't are avaliable in my instalation :( FC8 uses qt4-4.3.4 series yet and the docs are very clear: This function was introduced in Qt 4.4.

jpn
15th May 2008, 17:43
Uhh sorry, I didn't realize it was a new function (not that I knew which version you were using either). Anyway, maybe it's time to compile a more recent version of Qt by hand? :)