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

Phil Thompson phil at riverbankcomputing.com
Wed May 6 15:26:13 BST 2020


On 06/05/2020 15:20, Patrick Stinson wrote:
> Phil,
> 
> Do you think pyqtdeploy is incorrectly including OpenSSL modules for 
> iOS builds?
> 
> -Patrick

Possibly. I've never used OpenSSL on iOS - see the demo screenshot.

Phil

>> On Apr 29, 2020, at 6:24 AM, Patrick Stinson <patrickkidd at gmail.com> 
>> wrote:
>> 
>> To be clear, I mean “my understanding” from the pyqtdeploy 
>> documentation.
>> 
>>> On Apr 29, 2020, at 6:20 AM, Patrick Stinson <patrickkidd at gmail.com> 
>>> 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 riverbankcomputing.com> 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...
>>>> 
>>>> https://docs.python.org/3.7/whatsnew/3.7.html#platform-support-removals
>>>> 
>>>> Phil
>>> 
>> 



More information about the PyQt mailing list