[PyKDE] How to use sip.voidptr to access the data itself

Phil Thompson phil at riverbankcomputing.co.uk
Tue Sep 30 21:37:01 BST 2003


On Tuesday 30 September 2003 8:15 pm, sfang wrote:
> Hello, Phil,
> You mean I can not use in python code and had to pass  it to another c++
> mod like qt.QArray()? or I write a c++ class to deal with it?

Write a C++ class - or convert it to an an integer and pass it to something 
like PIL.

PyQt could instead return the data in a Python string - but that would be a 
copy of the data.

Phil




More information about the PyQt mailing list