Problem when using OpenSSL in the phone
-
wrote 17 days ago last edited by
-
Hi and welcome to devnet,
Did you include the OpenSSL libraries in your apk ?
-
Hello, I have built a project that uses a qt network and works without problems in the desktop and when I convert it to Android, it also works, but if I click on the button that sends the data to the server, this error occurs and no data is sent.
wrote 17 days ago last edited by@sfaei_Ahmed Just add android openssl libraries to your project.
here is the guide https://github.com/KDAB/android_openssl
I hope that it helps -
wrote 16 days ago last edited by sfaei_Ahmed
-
I included it inside the cmakelist.txt file, but I don't know how to include it in the apk file.
wrote 16 days ago last edited by@sfaei_Ahmed first of all you have wrongly included it in cmakelist. second of all i already gave you the solution in the link above. There are guidelines for including openssl libs in cmake projects. Just take your time and read carefully.
-
@sfaei_Ahmed first of all you have wrongly included it in cmakelist. second of all i already gave you the solution in the link above. There are guidelines for including openssl libs in cmake projects. Just take your time and read carefully.
wrote 16 days ago last edited by@Ronel_qtmaster I tried, but the problem is not solved. Please, if there are any projects or examples in which it is used, send it to me.
-
What exactly do you have now ?
Did you get any error message on build ?
Did you inspect the content of the APK ?
1/7