Pyqtdeploy on iOS: 'openssl/evp.h' file not found

Patrick Stinson patrickkidd at
Wed Apr 29 15:24:46 BST 2020

To be clear, I mean “my understanding” from the pyqtdeploy documentation.

> On Apr 29, 2020, at 6:20 AM, Patrick Stinson <patrickkidd at> wrote:
> I am using 1.0.2, which appears to still be supported.
> But my understanding is that I am not supplying a version of openssl for iOS builds? This seems like it would be a project config problem if openssl is supposed to be taken from the platform?
> -Patrick
>> On Apr 29, 2020, at 12:29 AM, Phil Thompson <phil at> wrote:
>> On 29/04/2020 06:29, Patrick Stinson wrote:
>>> After upgrading from python-3.6.4 to python-3.7.2, my pyqtdeploy (2.4)
>>> project is having trouble finding openssl headers as it builds python
>>> modules on iOS:
>>> /Users/patrick/dev/familydiagram/vendor/sysroot-ios-64/src/Python-3.7.2/Modules/_hashopenssl.c:23:10:
>>> 'openssl/evp.h' file not found
>>> I don’t see that header anywhere in the iOS SDK or in the pyqtdeply
>>> sysroot. I wonder if pyqtdeploy incorrectly enables some python
>>> feature on iOS for python 3.7.2?
>>> I know that sometimes pyqtdeploy has some other errors, like including
>>> the QtPrintSupport module on iOS builds (I used sed to remove those
>>> init lines).
>> Maybe you need a different version of OpenSSL...
>> Phil

More information about the PyQt mailing list