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

Phil Thompson <[email protected]> Wed, 06 May 2020 15:32:42 +0100
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On 06/05/2020 15:27, Patrick Stinson wrote:
> Which “demo screenshot”?

https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/demo.html#ios

>> On May 6, 2020, at 6:26 AM, Phil Thompson 
>> <[email protected]> wrote:
>> 
>> 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 <[email protected]> 
>>>> wrote:
>>>> To be clear, I mean “my understanding” from the pyqtdeploy 
>>>> documentation.
>>>>> On Apr 29, 2020, at 6:20 AM, Patrick Stinson 
>>>>> <[email protected]> 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 
>>>>>> <[email protected]> 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
>>