[PyQt] Error in PyQt5 build docs: You can't specify --no-tools when compiling sip
phil at riverbankcomputing.com
Fri Jan 4 10:06:44 GMT 2019
On 3 Jan 2019, at 8:13 pm, Russell Warren <russ at perspexis.com> wrote:
> Docs for installing PyQt5 from source are here:
> 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:
> If you drop the --no-tools from the sip compilation, PyQt5 compilation can proceed since it has the sip.h file.
The --no-tools build is supposed to be in addition to a normal SIP build, not a replacement of it (so that any other non-PyQt related sip-based bindings will still work). However it is probably less confusing if I just omit the --no-tools.
More information about the PyQt