[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Problem with QPixmap and depth on Windows
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2004-12-29 16:08:17
Message-ID: 200412291608.17286.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

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.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic