[PyQt] Compile error for PyQt 5.2.1 ('pyqt5EmitFunc' does not name a type)

Russell Warren russ at perspexis.com
Sat Apr 26 04:36:36 BST 2014


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
> -I../../../code/qt5/qtbase/include/QtCore -I. -o qpycore_post_init.o
> qpycore_post_init.cpp
> 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[1]: *** [qpycore_post_init.o] Error 1
> make[1]: Leaving directory `/home/russ/Downloads/PyQt-gpl-5.2.1/QtCore'
> 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.

Also - where is the best place for submitting bug reports?

Thanks,
Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140425/3bb4fdcc/attachment.html>


More information about the PyQt mailing list