<div dir="ltr">Dear all,<div><br></div><div>I'm migrating the code which was buildable with sip4 to sip6.</div><div>I'm running</div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">kk@mac python % sip-build</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Querying qmake about your Qt installation...</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">These bindings will be built: qti.</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Generating the qti bindings...</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">sip-build: ../qtisas/python/sip/qti/qtimod.sip: line 2336: column 26: NoDerived is not a valid function annotation</span></p></div><div><br></div><div>The error happens here. I checked the docs and looks like the function annotation NoDerived is still present. NoDerived annotation appears 101 times in the file and this piece is the first occurrence.</div><div><div style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"JetBrains Mono",monospace;font-size:9.8pt;white-space:pre">  Folder *activeFolder() /NoDerived/;<br>%MethodCode<br>  sipRes = sipCpp->current_folder;<br>%End</div></div><div><br></div><div>The corresponding pyproject.toml:</div><div><div style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"JetBrains Mono",monospace;font-size:9.8pt;white-space:pre">[<span style="color:rgb(204,120,50)">build-system</span>]<br><span style="color:rgb(204,120,50)">requires </span>= [<span style="color:rgb(106,135,89)">"sip >=6, <7"</span>, <span style="color:rgb(106,135,89)">"PyQt-builder >=1.6, <2"</span>]<br><span style="color:rgb(204,120,50)">build-backend </span>= <span style="color:rgb(106,135,89)">"sipbuild.api"<br></span><span style="color:rgb(106,135,89)"><br></span>[<span style="color:rgb(204,120,50)">tool</span>.<span style="color:rgb(204,120,50)">sip</span>.<span style="color:rgb(204,120,50)">metadata</span>]<br><span style="color:rgb(204,120,50)">name </span>= <span style="color:rgb(106,135,89)">"qti"<br></span><span style="color:rgb(204,120,50)">requires-dist </span>= <span style="color:rgb(106,135,89)">"PyQt5 (>=5.15)"<br></span><span style="color:rgb(106,135,89)"><br></span>[<span style="color:rgb(204,120,50)">tool</span>.<span style="color:rgb(204,120,50)">sip</span>]<br><span style="color:rgb(204,120,50)">project-factory </span>= <span style="color:rgb(106,135,89)">"pyqtbuild:PyQtProject"<br></span></div></div><div><br></div><div>The system I'm trying to build things on is mac with m1 processor.</div><div>Python3, PyQt5, PyQt-builder and sip are installed from brew.</div><div><br></div><div>Could you please guide me with some info on how to proceed with this error? Thanks!</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Kind regards,<div>Konstantin</div></div></div></div></div></div>