ios: PyQt incorrectly including QProcess

Patrick Stinson patrickkidd at gmail.com
Sun Apr 6 06:29:25 BST 2025


I am getting this error on PyQt5 building a pyqtdeploy sysroot for iOS:

qobject.sip:380:10: error: use of undeclared identifier ‘sipName_QProcess'
qobject.sip:380:29: error: use of undeclared identifier ‘sipType_QProcess'

Those lines show:

    #if !defined(QT_NO_PROCESS)
        {sipName_QProcess, &sipType_QProcess, -1, -1},
    #else

So I guess QT_NO_PROCESS is not getting defined or something since QProcess is not available on iOS.

I do still see PyQt_Process in disabled_features in my sysroot.toml which worked some years ago…


[PyQt.ios]
disabled_features = [
    "PyQt_Desktop_OpenGL", "PyQt_MacOSXOnly",
    "PyQt_MacCocoaViewContainer", "PyQt_Printer",
    "PyQt_PrintDialog", "PyQt_PrintPreviewDialog",
    "PyQt_PrintPreviewWidget", "PyQt_Process",
    "PyQt_NotBootstrapped"
]
installed_modules = [
    "QtCore", "QtGui", "QtNetwork", "QtWidgets",
    "QtMacExtras", "QtQml", "QtQuick", "QtQuickWidgets"
]

Any idea how to fix it? Cheers,

-Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20250405/2c3cca59/attachment.htm>


More information about the PyQt mailing list