[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Error in PyQt5 build docs: You can't specify --no-tools when compiling sip
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2019-01-04 10:06:44
Message-ID: EF729631-FE17-4110-B4A9-E8CD20421978 () riverbankcomputing ! com
[Download RAW message or body]

On 3 Jan 2019, at 8:13 pm, Russell Warren <russ@perspexis.com> wrote:
> 
> 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.

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.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic