[PyQt] sipEnumType_alloc: Assertion for PyQt5 but not PyQt4

Phil Thompson phil at riverbankcomputing.com
Mon Jun 1 17:28:37 BST 2015


On 01/06/2015 4:24 pm, Guðjón Guðjónsson wrote:
> Hi
> 
> Thanks a lot for your help Phil and Dmitry. Setting -t Qt_5_4_1 instead 
> of
> Qt_5_0_0 did the trick. Now it works for Qt4/5 and Python2/3.

The correct way to get the version flags (in fairly recent versions of 
PyQt4 and PyQt5) is...

http://pyqt.sourceforge.net/Docs/PyQt5/extension_api.html#python-api

Phil


More information about the PyQt mailing list