[PyQt] sip_api_convert_to_void_ptr returns NULL

Tom Brown nextstate at gmail.com
Sun Feb 7 01:34:01 GMT 2016


I have quite a bit of UI drawing objects in PyQt. I was thinking of passing
the drawing objects to the C++ extension and accessing the Qt objects
directly to draw them (??).

It seems like creating a C++ QWidget subclass using SIP would be much
simpler. Then I could subclass the C++ class in Python, then call methods
super class to do the drawing for me.


On Sat, Feb 6, 2016 at 5:25 PM, michael h <michaelkenth at gmail.com> wrote:

>
>>
>> Any ideas on where I am going wrong here?
>>
>>
>>
> What is the overall goal here?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160206/990c7d09/attachment.html>


More information about the PyQt mailing list