Pyqtdeploy on iOS: 'openssl/evp.h' file not found
Patrick Stinson
patrickkidd at gmail.com
Wed May 6 16:42:25 BST 2020
For what it’s worth, I removed _hashopenssl.c (and associated symbols in pyqtdeploy_main.cpp) , “-lcrypto,” and “-lssl” from the Xcode target and it linked successfully.
It looks to me that simply restricting this module from the python plugin config in pyqtdeploy will solve this problem, at least for those who do not use openssl in python directly.
-Patrick
> On May 6, 2020, at 6:32 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
>
> 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 <phil at riverbankcomputing.com> 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 <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