building pyqt5 from source
phil at riverbankcomputing.com
Sun Jun 26 09:32:28 BST 2022
On 25/06/2022 21:35, Stefan Seefeld wrote:
> On 2022-06-24 22:37, Scott Talbert wrote:
>> On Fri, 24 Jun 2022, Stefan Seefeld wrote:
>>> On 2022-06-23 22:01, Scott Talbert wrote:
>>>> On Thu, 23 Jun 2022, Stefan Seefeld wrote:
>>>>> I'm trying to build PyQt5.15.7 from source.
>>>>> indicates that this requires "v12.11 of the sip module". How does
>>>>> this relate to official SIP releases, which use versions 4.x, 5.x,
>>>>> 6.x ?
>>>> I believe that's referring to the *PyQt5-sip* module:
>>> Ah, thanks !
>>> So if I understand correctly, I need `PyQt5-sip` as runtime
>>> dependency for PyQt5, and SIP itself (or the `PyQt-Builder` wrapper)
>>> only when building PyQt5 myself, correct ?
>> Yes, I think that's right.
> OK, so I managed to build PyQt5 5.15.7 using `pip install
> PyQt-Builder`, and everything appears to be working as before.
> Now I'm trying to compile my own code, which requires the `sip.h`
> header (as I need to access from Python back to C++ using `sipAPIDef`
> et al. I assume I need to install SIP for this. What version(s) of SIP
> do I need, that is / are compatible with PyQt5 5.15.7 ? Anything 5.x ?
Always use the latest versions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2754 bytes
Desc: not available
More information about the PyQt