python - PyQt5 error during "python3 configure.py": fatal error: 'qgeolocation.h' file not found -
mac osx 10.9, python 3.5, sip-4.17, pyqt-gpl-5.5.1, qt5.5.1
hi, trying build pyqt on system did following steps:
- download/install qt5.5.1 libraries
- download/unpack sip
- download/unpack pyqt
install sip:
python3 configure.py -d /library/python/3.5/site-packages --arch x86_64 make sudo make installtried install pyqt:
python3 configure.py -d /library/python/3.5/site-packages --qmake /.../qt5.5.1/5.5/clang_64/bin/qmake
configuration stopped with:
/users/werner/opensource/pyqt/sip/qtpositioning/qgeolocation.sip:28:10: fatal >error: 'qgeolocation.h' file not found #include <qgeolocation.h> ^ 1 error generated. make[1]: *** [sipqtpositioningcmodule.o] error 1 make: *** [sub-qtpositioning-make_first-ordered] error 2 i tried finish installation doing
make sudo make install anyway. installation doesn't seem complete (e.g. uic, pyuic5 missing). here installation directory looks like:
>ls /library/python/3.5/site-packages/pyqt5 qtbluetooth.so qtsensors.so qtcore.so qtserialport.so qtdbus.so qtsql.so qtdesigner.so qtsvg.so qtgui.so qttest.so qthelp.so qtwebkit.so qtmacextras.so qtwebkitwidgets.so qtmultimedia.so qtwidgets.so qtmultimediawidgets.so qtxml.so qtnetwork.so qtxmlpatterns.so qtopengl.so _qopenglfunctions_2_0.so qtprintsupport.so _qopenglfunctions_2_1.so qtqml.so _qopenglfunctions_4_1_core.so qtquick.so i couldn't find useful information when searching other discussions, hope can give me hint on i'm (maybe stupidly) doing wrong. thank taking time read this.
if don't need module, better way solve disabling on configure.
python configure.py --disable=qtpositioning
Comments
Post a Comment