[PyQt] Compile error for PyQt 5.2.1 ('pyqt5EmitFunc' does not name a type)
phil at riverbankcomputing.com
Mon Apr 28 09:19:24 BST 2014
On 26/04/2014 4:36 am, Russell Warren wrote:
> I am trying to compile PyQt-gpl-5.2.1 on Linux and am getting the
> following error:
>> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC
>> -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG
>> -DQT_PLUGIN -DQT_CORE_LIB
>> -I../../../code/qt5/qtbase/mkspecs/linux-g++ -I. -I.
>> -I/usr/include/python2.7 -I../qpy/QtCore
>> -I../../../code/qt5/qtbase/include/QtCore -I. -o qpycore_post_init.o
>> In file included from ../qpy/QtCore/qpycore_pyqtboundsignal.h:28:0,
>> from qpycore_post_init.cpp:27:
>> ../qpy/QtCore/qpycore_pyqtsignal.h:60:5: error: 'pyqt5EmitFunc' does
>> not name a type
>> make: *** [qpycore_post_init.o] Error 1
>> make: Leaving directory
>> make: *** [sub-QtCore-make_first-ordered] Error 2
> I can find no record of anyone else having his problem.
> A complete log of the configure+make process on my machine is here:
> http://bpaste.net/raw/Mtoflizc9tWkmf2G0Mo0/ 
> That log is using the --concatenate option, but when I try without it
> I get the exact same error in the same file.
> I have:
> - QMake version 3.0, using Qt version 5.2.1
> - SIP 4.15.5-snapshot-0b19f77489ce.
> I also currently have a functional version of PyQt v5.2 installed
> (QtCore.PYQT_VERSION_STR == '5.2')... could this be the issue somehow?
> I had no trouble compiling v5.2 (that I can recall).
> Any help is appreciated! I'm having some issues with v5.2 that I would
> like to check in 5.2.1.
Looks like you are picking up a sip.h from an old version.
> Also - where is the best place for submitting bug reports?
More information about the PyQt