pls help me to draw a pixmap in background (watermark) using qpainter in qt3
hi friends , am quite new to qt3.3
can anyone help me to draw a background image(watermark) in postscript file using qpainter...
this is my code to create ps file
QPrinter* printer = new QPrinter( QPrinter::HighResolution );
printer->setColorMode( QPrinter::Color );
printer->setPageSize( QPrinter::A4 );
printer->setOrientation( QPrinter::Portrait );
printer->setOutputFileName("test2.ps");
thankzzzzzz.....
my qt version - 3.3.8b.......
Re: pls help me to draw a pixmap in background (watermark) using qpainter in qt3
Qt 3.3 is an old version. I don't have it's docs in front of me, but it should be just a matter of creating a painter, setting it to paint on the printer, and drawImage().
I would upgrade to Qt 4.x if you can (4.5 at the minimum). Qt 3.x is no longer supported, and is not getting any bug fixes.