Starting with Android 6 (marshmallow), Google has moved away from OpenSSL to their own SSL implementation called BoringSSL. This affects all Qt developers targeting Android 6 and later, as libssl.so and libcrypto.so are no longer available from Android, causing https requests to fail in Qt applications. The solution suggested at this time by The Qt Company is to compile these libraries and package them in the APK with the ANDROID_EXTRA_LIBS qmake variable. For example, you could build the two libraries from OpenSSL, copy them into your Android kit’s lib folder, and then add the following line to your project's *.pro file:
android <SPAN class="punctuation token">{</SPAN>
ANDROID_LIBS <SPAN class="operator token">=</SPAN> <SPAN class="token function">$$dirname</SPAN><SPAN class="punctuation token">(</SPAN>QMAKE_QMAKE<SPAN class="punctuation token">)</SPAN><SPAN class="operator token">/</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="operator token">/</SPAN>lib
ANDROID_EXTRA_LIBS <SPAN class="operator token">+</SPAN><SPAN class="operator token">=</SPAN> \
$$ANDROID_LIBS<SPAN class="operator token">/</SPAN>libssl<SPAN class="punctuation token">.</SPAN>so \
$$ANDROID_LIBS<SPAN class="operator token">/</SPAN>libcrypto<SPAN class="punctuation token">.</SPAN>so
<SPAN class="punctuation token">}</SPAN>
<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>This suggestion is applicable to any Qt developer targeting Android 6, whether using ArcGIS Runtime for Qt or not. Therefore, if you are using ArcGIS Runtime SDK for Qt, this suggestion is applicable whether you are using 10.2.5, 10.2.6, or Quartz (which is currently in beta). See the Qt documentation for further details on how to build OpenSSL and integrate the binaries into your project. In addition, licensing requirements for OpenSSL can be reviewed at https://www.openssl.org/docs/faq.html#LEGAL1 and https://www.openssl.org/source/license.html.