[PyKDE] Problem with QPixmap and depth on Windows
phil at riverbankcomputing.co.uk
Wed Dec 29 16:08:17 GMT 2004
On Wednesday 29 December 2004 3:37 pm, Lars Kirkhus wrote:
> Hello, I'm having a problem with QPixmap that I'm hoping someone can
> help me with. When I try to create a pixmap with depth greater than 1, I
> get an error message:
> >>> from qt import QPixmap, QApplication
> >>> app = QApplication()
> >>> pm = QPixmap(512,512,24)
> QPixmap: Invalid pixmap parameters
> This code works just fine on Debian and it also seems to work in C++.
> Does anyone know a solution to this problem?
> This was tested with Windows XP, Python 2.3.4, PyQt 3.13, sip 4.1.1 and
> Qt 3.3.3.
That's a Qt message - best ask Trolltech or look at the source code.
More information about the PyQt