Pyqtdeploy plan for the end of qmake?

Patrick Stinson patrickkidd at gmail.com
Wed Sep 2 02:18:45 BST 2020


Indeed. I have been putting off understanding sip5 but I just went through it all. It took a while to understand from the docs, but nice work.

It looks like the correct way to get the .sip files installed for PyQt5 is to use sip-install or PyQt-Builder to install PyQt5 from source?

> On Aug 31, 2020, at 12:40 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 
> You are missing an understanding of how SIP v5 works. v4 is a code generator and you provide your own build system. v5 is a code generator *and* a build system. It doesn't matter where sip.h is "installed" as long as the build system tells the compiler where it can be found.
> 
> Phil
> 
> 
> On 31/08/2020 07:52, Patrick Stinson wrote:
>> The pypi entry for pyqt5 says that qmake must be in the path for the
>> sdist to be used. I have qmake (5.15.0) in my path but "pip install
>> pyqt5” doesn’t install sip.h anywhere. I have always found it
>> difficult to understand how pip works, even after reading their docs.
>> What am I missing?
>>> On Aug 27, 2020, at 1:32 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
>>> Good to know. I suppose that leaves the sip executable (and in some cases the qmake executable).
>>>> On Aug 27, 2020, at 1:30 PM, Phil Thompson <phil at riverbankcomputing.com> wrote:
>>>> On 27/08/2020 18:40, Patrick Stinson wrote:
>>>>> One topic was to point out how difficult it is to develop sip
>>>>> extensions on windows, let alone on both Mac and windows. I can’t see
>>>>> how you were able to build a sip extension without sip.h or the PyQt
>>>>> .sip files, which are not included in the pip extensions. Maybe you
>>>>> could explain how you do this?
>>>> sip.h is part of the sip sdist/wheel.
>>>> The PyQt .sip files are part of the PyQt sdist/wheel.
>>>> Phil



More information about the PyQt mailing list