<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I’ve checked menu.sip for both versions and the definition is as follows:</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="color: rgb(0, 0, 0); margin: 0px;"><div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">%If (PyQt_MacOSXOnly)</font></div><div id="bloop_customfont" style="margin: 0px;"><font face="Consolas"> void setAsDockMenu();</font></div><div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">%End</font></div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;"><br></div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">What could I have done for PyQt_MacOSXOnly to return true when building for iOS?</div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;"><br></div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">My configuration was as follows:</div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">pyqtdeploycli --package pyqt5 --target ios-64 configure</font></div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;"><br></div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">I had to modify the generate .cfg to remove Enginio as else the next step would fail.</div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">python configure.py --static --sysroot=$SYSROOT --no-tools --no-qsci-api --no-designer-plugin --no-qml-plugin --configuration=pyqt5-ios.cfg --verbose --qmake=/Users/rob/Qt5/5.6/ios/bin/qmake</font></div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;"><br></div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">Cheers, Rob</div></div> <br> <div id="bloop_sign_1463676327107949056" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px"><br></div></div> <br><p class="airmail_on">On 19 May 2016 at 17:37:05, Robert Kent (<a href="mailto:rob@gulon.co.uk">rob@gulon.co.uk</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div></div><div>
<title></title>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Hi Phil,</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
I’ve tried building the stable 5.6 version of PyQt5 and the latest
dev build (PyQt5_gpl-5.6.1.dev1605160847) statically for iOS and
I’m getting the same error with times:</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br></div>
<div id="bloop_customfont" style="color: rgb(0, 0, 0); margin: 0px;">
<div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">/Users/rob/Downloads/PyQt5_gpl-5.6.1.dev1605160847/QtWidgets/sipQtWidgetsQMenu.cpp:2848:21:
error: no member named 'setAsDockMenu' in 'QMenu'</font></div>
<div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">
sipCpp->setAsDockMenu();</font></div>
<div id="bloop_customfont" style="margin: 0px;"><font face="Consolas"> ~~~~~~
^</font></div>
<div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">1 error generated.</font></div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">
<br></div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">Any
thoughts on a fix?</div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">
<br></div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">
Cheers, Rob</div>
</div>
<br>
<div id="bloop_sign_1463675663118857984" class="bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">
<br></div>
</div>
</div></div></span></blockquote></body></html>