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

List:       pykde
Subject:    Re: building pyqt5 from source
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2022-06-27 11:33:17
Message-ID: a408d58c6258f83b7e74c610eb5f4364 () riverbankcomputing ! com
[Download RAW message or body]


On 26/06/2022 17:20, Stefan Seefeld wrote:
> On 2022-06-26 04:32, Phil Thompson wrote:
>> On 25/06/2022 21:35, Stefan Seefeld wrote:
>>> 
>>> 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.
> 
> Thanks. The installed `SIP=6.6.2` package doesn't contain the `sip.h`
> header per se. It does contain two "sip.h.in" files that look like
> they could be converted into `sip.h`. I'm unfortunately not able to
> find any documentation that explains that process.
> 
> What do I have to do to generate a usable "sip.h" file, and what
> include path should I use (or how should I compute it) when compiling
> my own C++ code to be able to include that ?
> 
> (I'm upgrading from an old version 4.19.23 and there the directory
> layout and build logic was very different.)

sip-install/sip-wheel handles sip.h for you.

Phil
[".signature.png" (image/png)]

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

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