[PyKDE] pyqt development snapshot built on windows

Phil Thompson phil at riverbankcomputing.co.uk
Tue May 27 09:24:01 BST 2003


On Monday 26 May 2003 10:58 pm, Maxwell Sayles wrote:
> ok.. fair enough... I'm using PyQt entirely for research purposes.  If the
> project develops enough interest and we stay with PyQt, we will purchase a
> commercial version, but for now we won't be distributing the application.
>
> in any event, i'm still stuck.  ultimately i want to manipulate the pixels
> in a QImage from a python C extension under windows. calling bits() and
> passing the result to the extension would work, except that I'm so far
> unable to build a version of PyQt under windows that supports the method
> bits() in QImage.
>
> is it possible to pass the python instance of a QImage to the extension and
> have the extension convert it to a QImage* that I would be able to invoke
> bits() on from the C extension?
>
> >I do not provide development snapshots of the non-commercial version.
> > Using the GPL version will not work (as you have found) and also
> > contravenes the GPL.

Why not take the source to the non-commercial edition of PyQt and add the 
access to bits(). It's a one-line change.

Phil




More information about the PyQt mailing list