[PyQt] sipEnumType_alloc: Assertion for PyQt5 but not PyQt4

Phil Thompson phil at riverbankcomputing.com
Mon Jun 1 09:30:42 BST 2015


On 01/06/2015 6:07 am, Guðjón Guðjónsson wrote:
> Hi
> 
> I guess the error is that I am using a PyQt4 sipfile. How do I use
> sipconfig.Configuration() for PyQt5? Is there any simple example for a
> configure.py file for PyQt5. I have searched but not found any simple 
> one.

There is no difference. Just pass the right -I and -t flags to the sip 
executable.

Phil


More information about the PyQt mailing list