building pyqt5 from source
Phil Thompson
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:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying to build PyQt5.15.7 from source.
>>>>> https://www.riverbankcomputing.com/news/PyQt_v5.15.7_Released
>>>>> 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:
>>>> https://pypi.org/project/PyQt5-sip/
>>>
>>> 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.
Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .signature.png
Type: image/png
Size: 2754 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220626/f48272e9/attachment.png>
More information about the PyQt
mailing list