[poppler] [PATCH] qt-bindings renderToImage

Wilfried Huss Wilfried.Huss at gmx.at
Sun Jan 1 11:11:14 PST 2006


Am Sunday, 1. January 2006 17:18 schrieb Albert Astals Cid:
> A Diumenge 01 Gener 2006 13:43, Wilfried Huss va escriure:
> > Hi,
> Hi
> 
> > I'm currently working on multithreading support for KViewShell. And since
> > Qt does not allow the use of QPixmaps outside of the GUI-thread I need a
> > little change to the poppler qt bindings.
> Well, AFAIK is a X server limitation and not a Qt one, but i know what you 
> mean ;-)

I know, but if I understood the documentation correctly it should be possible in Qt4.
But I haven't tried yet.

> > Attached is a patch that adds a renderToImage() function that returns a
> > QImage. The patch leaves the renderToPixmaps() functions intact (I don't
> > know if you already keep backwards compability), but they are redundant.
> Could you send the patch for Qt4 bindings also?

I will.

> Another thing is the docu seems a bit strange, i mean "It uses the "Splash" 
> rendering engine that is included in the Poppler distribution."? I'd reduce 
> it only to "It uses the "Splash" rendering engine" or "It uses the "Splash" 
> renderer", the poppler part is already obvious since it's the poppler 
> documentation ;-)

I just copied the documentation from the qt4 bindings.

Wilfried



More information about the poppler mailing list