building pyqt5 from source
Stefan Seefeld
stefan at seefeld.name
Sat Jun 25 21:35:53 BST 2022
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 ?
Thanks,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220625/2eb515b4/attachment.htm>
-------------- 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/20220625/2eb515b4/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stefan.vcf
Type: text/vcard
Size: 4 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220625/2eb515b4/attachment.vcf>
More information about the PyQt
mailing list