[PyQt] sip 4.19.5 breaks PyQt4 4.12.1/4.12.2dev

spacemail at gmx.eu spacemail at gmx.eu
Sun Nov 19 17:05:30 GMT 2017


sip 4.19.5 seem to break PyQt4 4.12.1. Using sip 4.19.3 will solve the problem.
Markus

-

make[1]: Leaving directory '/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtCore'
cd QtGui/ && make -f Makefile
make[1]: Entering directory '/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui'
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I/usr/include/python2.7 -I../qpy/QtGui -I. -o sipQtGuiQMouseEventTransition.o sipQtGuiQMouseEventTransition.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I/usr/include/python2.7 -I../qpy/QtGui -I. -o sipQtGuiQValidator.o sipQtGuiQValidator.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I/usr/include/python2.7 -I../qpy/QtGui -I. -o sipQtGuiQDirModel.o sipQtGuiQDirModel.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I/usr/include/python2.7 -I../qpy/QtGui -I. -o sipQtGuiQList0101QTreeWidgetItem.o sipQtGuiQList0101QTreeWidgetItem.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I/usr/include/python2.7 -I../qpy/QtGui -I. -o sipQtGuiQFocusFrame.o sipQtGuiQFocusFrame.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I/usr/include/python2.7 -I../qpy/QtGui -I. -o sipQtGuiQPaintEngineDirtyFlags.o sipQtGuiQPaintEngineDirtyFlags.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I/usr/include/python2.7 -I../qpy/QtGui -I. -o sipQtGuiQGraphicsAnchorLayout.o sipQtGuiQGraphicsAnchorLayout.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I/usr/include/python2.7 -I../qpy/QtGui -I. -o sipQtGuiQDrag.o sipQtGuiQDrag.cpp
/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui/sipQtGuiQValidator.cpp: In member function 'virtual QValidator::State sipQValidator::validate(QString&, int&) const':
/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui/sipQtGuiQValidator.cpp:179:31: error: 'QValidator::State' is not a class or namespace
return ::QValidator::State::Invalid;
^
/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui/sipQtGuiQValidator.cpp:195:27: error: 'QValidator::State' is not a class or namespace
return ::QValidator::State::Invalid;
^
Makefile:1140: recipe for target 'sipQtGuiQValidator.o' failed
make[1]: *** [sipQtGuiQValidator.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui'
Makefile:96: recipe for target 'sub-QtGui-make_default-ordered' failed
make: *** [sub-QtGui-make_default-ordered] Error 2
cd QtCore/ && make -f Makefile
make[1]: Entering directory '/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtCore'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtCore'
cd QtGui/ && make -f Makefile
make[1]: Entering directory '/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui'
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I/usr/include/python2.7 -I../qpy/QtGui -I. -o sipQtGuiQValidator.o sipQtGuiQValidator.cpp
/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui/sipQtGuiQValidator.cpp: In member function 'virtual QValidator::State sipQValidator::validate(QString&, int&) const':
/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui/sipQtGuiQValidator.cpp:179:31: error: 'QValidator::State' is not a class or namespace
return ::QValidator::State::Invalid;
^
/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui/sipQtGuiQValidator.cpp:195:27: error: 'QValidator::State' is not a class or namespace
return ::QValidator::State::Invalid;
^
Makefile:1140: recipe for target 'sipQtGuiQValidator.o' failed
make[1]: *** [sipQtGuiQValidator.o] Error 1
make[1]: Leaving directory '/root/up1/PyQt/tmp-source/PyQt4_gpl_x11-4.12.1/QtGui'
Makefile:96: recipe for target 'sub-QtGui-make_default-ordered' failed
make: *** [sub-QtGui-make_default-ordered] Error 2


More information about the PyQt mailing list