Re: [PyQt] QPoint not automatically cast to QPointF

2012-09-20 Thread Phil Thompson
On Thu, 20 Sep 2012 07:34:10 +0530, Shriramana Sharma samj...@gmail.com wrote: In my recent work with Beziers I ran across this. A QPoint is *not* automatically converted into a QPointF in Python/PyQt while it *is* converted in C++: The following C++ code compiles fine: # include

Re: [PyQt] QPoint not automatically cast to QPointF

2012-09-20 Thread Shriramana Sharma
Hi. Thanks for your reply. What you have to do in SIP, is it of the nature of a workaround to Python's inability to do the conversion automatically? Or Python is able to do the conversion automatically and SIP just needs to present the classes in a proper manner as required by Python? Sent from