[PyQt] QPrinter.setOutputToFile is missing

Phil Thompson phil at riverbankcomputing.co.uk
Thu Dec 6 17:09:48 GMT 2007


On Thursday 06 December 2007, Mike Tammerman wrote:
> Hi,
>
> I think, QPrinter's setOutputToFile function is not wrapped. It is in
> the documentation of the Qt4.
>
> from PyQt4.QtCore import *
> from PyQt4.QtGui import *
> a = QApplication([])
> p = QPrinter()
> p.setOutputToFile(True)
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: setOutputToFile
>
>
> I am using kubuntu gutsy with following packages
> sip 4.7.1
> pyqt 4.3

None of the Qt3 support stuff is wrapped.

Phil


More information about the PyQt mailing list