Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
6.5.0 Beta2
-
None
-
macOS M1Pro
Description
Exemple with Network exemple : securesocketclient
Open exemple project, add these lines after qt_add_executable in CMakeLists.txt:
if (ANDROID)
include(/path/sdk/android_openssl/CMakeLists.txt)
set_target_properties(securesocketclient PROPERTIES
QT_ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android"
QT_ANDROID_EXTRA_LIBS "${ANDROID_EXTRA_LIBS}"
)
endif()
Add dir android in source exemple : android/libs/arm64-v8a/ with libssl_1_1.so and libcrypto_1_1.so
After that, exemple run without errors when compiling with Qt6.4.2.
The same project, with Qt6.5.0 Beta2 in Release config fails :
-compile and install without error
- But running error :
W qt.tlsbackend.ossl: : Failed to load libssl/libcrypto.
Forum subject about this error :
https://forum.qt.io/topic/142499/problem-with-openssl-and-qt-6-5-0-beta-2/10
Attachments
Issue Links
- resulted in
-
QTBUG-111586 Update OpenSSL for Android deployment docs for OpenSSL 3
- Closed