[PyQt] Error in PyQt5 build docs: You can't specify --no-tools when compiling sip

Russell Warren russ at perspexis.com
Thu Jan 3 20:13:43 GMT 2019


Docs for installing PyQt5 from source are here:

https://pyqt.readthedocs.io/en/latest/installation.html#building-and-installing-from-source

They explicitly state that sip should be built with "a command line similar
to the following":

  python configure.py --sip-module PyQt5.sip --no-tools

However, if you specify "--no-tools" it explicitlydoes not install the
sip.h file is needed for compiling PyQt5 itself. This is documented here:

http://pyqt.sourceforge.net/Docs/sip4/installation.html#cmdoption-configure-py-no-tools

If you drop the --no-tools from the sip compilation, PyQt5 compilation can
proceed since it has the sip.h file.

Thanks,
Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190103/2be73621/attachment.html>


More information about the PyQt mailing list