<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello everyone.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been using SIP 4.x for a long time now, with Qt 5.12.x and various versions of PyQt (most recently, 5.13.0). We have a whole multiplatform development ecosystem built around the ‘sip’ tool which includes auto-generating the .sip
files, running the ‘sip’ executable with a fair number of command line flags, and then invoking platform-specific build tools (a specific custom installation of GCC on Linux, Visual Studio on Windows) to compile these, and build them into a .pyd file. It is
the .pyd file that is the ultimate target here, to allow Python API access into our (very large) C++ application. In particular, we are not building a PyPi installation, wheel, or anything else. We don’t install anything under any Python site-packages. We
just need that .pyd!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">One of our dependencies went from the 5.12 LTS to the 5.15 LTS trees, so I downloaded, built, and installed Qt 5.15.2 (we need a custom build). I went to do the “usual stuff” with PyQt 5.15.2 and SIP 6.0.0, and then wow, everything’s all
changed! <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have read through (I think…) all of the documentation, but am struggling to understand what I need to change in my current system to move to the “new way”. For example, how do I specify a path to a compiler, the command line flags for
the compiler, and that sort of thing, for compiling the SIP-generated code? What became of all of the command line flags to the ‘sip’ executable (i.e. what takes their place in the new system)? It seems like all of the examples are very remedial, and then
for more complex systems, the documentation points to very generic standards (i.e. PEP 508, etc) and I’m having real troubles bridging the gap here.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Are there any “HOW-TO” guides for moving from SIP 4 (my last version used was 4.19.18) to SIP 6.0.0?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Dan Gehlhaar<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>