QPrinter problem

Jeremy Sanders <[email protected]> Sun, 29 Jan 2006 19:23:59 +0000 (GMT)
Newsgroups gmane.comp.kde.devel.cygwin
Message-ID <[email protected]>
I'm trying to construct a QPrinter() on a Windows system which doesn't 
have any printers installed. This causes the debug message

System has no default printer, are any printers installed?

to be printed. The program then segfaults in the qt-mt.dll. I'm using 
QPrinter for printing and making eps files, so I don't always expect a 
printer to be installed.

Should Qt crash if there is no printer? This is the latest cvs version of 
qt-win-free.

Thanks

Jeremy

-- 
Jeremy Sanders <[email protected]>   http://www-xray.ast.cam.ac.uk/~jss/
X-Ray Group, Institute of Astronomy, University of Cambridge, UK.
Public Key Server PGP Key ID: E1AAE053