[PyQt] PyQt5.6, iOS Build Error

Phil Thompson phil at riverbankcomputing.com
Thu May 19 17:58:28 BST 2016


On 19 May 2016, at 5:49 pm, Robert Kent <rob at gulon.co.uk> wrote:
> 
> I’ve checked menu.sip for both versions and the definition is as follows:
> 
> %If (PyQt_MacOSXOnly)
>     void setAsDockMenu();
> %End
> 
> What could I have done for PyQt_MacOSXOnly to return true when building for iOS?
> 
> My configuration was as follows:
> 
> pyqtdeploycli --package pyqt5 --target ios-64 configure
> 
> I had to modify the generate .cfg to remove Enginio as else the next step would fail.
> 
> 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

Add PyQt_MacOSXOnly to pyqt_disabled_features in the .cfg file.

Or use the repo version of pyqtdeploy.

Phil


More information about the PyQt mailing list