qt5 - Error installing PyQt 5.4.2: sip api reference -


i need trying figure out why having error:

[everything fine until here...] in file included sipqtcoreqtimezoneoffsetdata.cpp:24:0: /home/hugo/desktop/my_pyqt_examples/pyqt-gpl-5.4.2/qtcore/sipqtcoreqtimezoneoffsetdata.cpp: in function ‘pyobject* varget_qtimezone_offsetdata_abbreviation(void*, pyobject*, pyobject*)’: /home/hugo/desktop/my_pyqt_examples/pyqt-gpl-5.4.2/qtcore/sipapiqtcore.h:9581:52: error: ‘const sipapidef’ has no member named ‘api_get_reference’  #define sipgetreference             sipapi_qtcore->api_get_reference                                                     ^ /home/hugo/desktop/my_pyqt_examples/pyqt-gpl-5.4.2/qtcore/sipqtcoreqtimezoneoffsetdata.cpp:128:13: note: in expansion of macro ‘sipgetreference’      sippy = sipgetreference(sippyself, -13);              ^ /home/hugo/desktop/my_pyqt_examples/pyqt-gpl-5.4.2/qtcore/sipqtcoreqtimezoneoffsetdata.cpp: in function ‘pyobject* varget_qtimezone_offsetdata_atutc(void*, pyobject*, pyobject*)’: /home/hugo/desktop/my_pyqt_examples/pyqt-gpl-5.4.2/qtcore/sipapiqtcore.h:9581:52: error: ‘const sipapidef’ has no member named ‘api_get_reference’  #define sipgetreference             sipapi_qtcore->api_get_reference                                                     ^ /home/hugo/desktop/my_pyqt_examples/pyqt-gpl-5.4.2/qtcore/sipqtcoreqtimezoneoffsetdata.cpp:170:13: note: in expansion of macro ‘sipgetreference’      sippy = sipgetreference(sippyself, -14);              ^ make[1]: *** [sipqtcoreqtimezoneoffsetdata.o] error 1 make[1]: *** waiting unfinished jobs.... make[1]: leaving directory `/home/hugo/desktop/my_pyqt_examples/pyqt-gpl-5.4.2/qtcore' make: *** [sub-qtcore-make_first-ordered] error 2 

i installing pyqt 5.4 inside virtualenv on ubuntu 14.04. installed sip (version 4.16.8, which sip returns 1 inside virtualenv) , seems fine during configure run:

python configure.py --qmake /home/hugo/qt/5.4/gcc_64/bin/qmake 

outputs (among other things):

qt v5.4.2 (open source) being used. qmake executable /home/hugo/qt/5.4/gcc_64/bin/qmake. qt built shared library. sip 4.16.8 being used. sip executable /home/hugo/desktop/my_pyqt_examples/venv/bin/sip. these pyqt5 modules built: qtcore, qtgui, qthelp, qtmultimedia, qtmultimediawidgets, qtnetwork, qtopengl, qtprintsupport, qtqml, qtquick, qtsql, qtsvg, qttest, qtwebkit, qtwebkitwidgets, qtwidgets, qtxml, qtxmlpatterns, qtdesigner, qtdbus, _qopenglfunctions_2_0, _qopenglfunctions_2_1, _qopenglfunctions_4_1_core, qtsensors, qtserialport, qtx11extras, qtbluetooth, qtpositioning, qtquickwidgets, qtwebsockets, enginio, qtwebchannel, qtwebenginewidgets. pyqt5 python package installed in /home/hugo/desktop/my_pyqt_examples/venv/lib/python3.4/site-packages 

tell me if more info needed. tried install pyqt 5.2 agains qt version of ubuntu repos got same error. can do?

edit:

i overcame problem using sip 4.16.7 instead. think not solution, if knows why recent version not work please elaborate.

i ran same problem , i've fixed specifying sip path before make step: python configure.py --sip-incdir=/opt/sip-4.6.9/include/python2.7


Comments