[PyQt] Problem building PyQt5 for windows 32bit

Phil Thompson phil at riverbankcomputing.com
Sun Mar 30 15:14:19 BST 2014


On 28-03-2014 11:00 pm, Bhavek Budia wrote:
> I am trying to build a 32 bit version of PyQt5 on windows, for
> python2.7.5. I downloaded and compiled Qt, both for windows 32 and 
> 64.
>
>
> I have managed to compile a 64 bit version of PyQt5, But when I try 
> to
> do the same for 32 bit I get this error:
>
> .qpycore_chimera.cpp(496) : error C2039: 'qt4_flags' : is not a 
> member
> of '_pyqt4ClassTypeDef'
>
> I made sure I have no PyQt4 or Qt4 builds installed on my machine. I
> grabbed the latest release of sip and managed to build it.
>
> I have reproduced this error on two different machines.
>
> Any help is greatly appreciated.

qpycore_chimera.cpp doesn't include a reference to qt4_flags so it 
looks like you have an old copy of PyQt5.

Phil


More information about the PyQt mailing list