[PyQt] PyQt5.6, iOS Build Error

Robert Kent rob at gulon.co.uk
Thu May 19 17:49:10 BST 2016


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

Cheers, Rob



On 19 May 2016 at 17:37:05, Robert Kent (rob at gulon.co.uk) wrote:

Hi Phil,

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:

/Users/rob/Downloads/PyQt5_gpl-5.6.1.dev1605160847/QtWidgets/sipQtWidgetsQMenu.cpp:2848:21: error: no member named 'setAsDockMenu' in 'QMenu'
            sipCpp->setAsDockMenu();
            ~~~~~~  ^
1 error generated.

Any thoughts on a fix?

Cheers, Rob


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160519/1ac2d255/attachment.html>


More information about the PyQt mailing list