Solved Qt Android OpenSSL issues
-
Which exact version of Qt ? The switch to OpenSSL 1.1 in the official binary happened for Qt 5.12.4.
-
Qt Creator 4.9.2
Based on Qt 5.12.4 (Clang 10.0 (Apple), 64 bit)
Built on Jun 26 2019 11:30:44
From revision 8181363fa9Knew there were OpenSSL issues, so I updated this past week.
-
That's the Qt Creator information. I am asking for the Qt version you are using to build your application.
-
5.12.4, right?
-
Indeed, it just realised something. From the .pro file bits you posted, you only have openssl.pri in DISTFILES. Do you include it at some point ? Otherwise, it's content won't be processed.
-
Yes, I have this to include the PRI:
android { include(openSSL/openssl.pri) }
And, I've included it in my Project as well. Same as I used to do with the older version of SSL.
-----------UPDATE
Had two PRO files confused... correctly adding in the INCLUDE of the ssl PRI file worked. -
What version of Android are you targeting ?
-
-
Just to make sure, you are not trying this on an Android 5.x device? As it's not gonna work with openSSL 1.1.x
-
Current test device is Android 9. LG V50 ThinQ