Commit 709ff51e authored by Volker Krause's avatar Volker Krause

Force OpenSSL into the APK

QtNetwork needs it, but it doesn't link against it but dlopens it at
runtime. This makes the weather forecast work on Android too.

See http://doc.qt.io/qt-5/opensslsupport.html for mostly working OpenSSL
build instructions on Android. I needed at least API level 21 for this to
work, as well as OpenSSL 1.0.x for the pre-built Qt 5.10.
parent 6778bad5
......@@ -40,6 +40,7 @@ if (ANDROID)
if (NOT DEFINED BREEZEICONS_DIR AND EXISTS ${CMAKE_SOURCE_DIR}/../breeze-icons)
set(BREEZEICONS_DIR ${CMAKE_SOURCE_DIR}/../breeze-icons)
endif()
find_package(OpenSSL REQUIRED)
else()
find_package(Qt5 REQUIRED COMPONENTS Positioning)
endif()
......
......@@ -42,6 +42,7 @@ if (ANDROID)
Qt5::AndroidExtras
Qt5::Svg
KF5::Prison
OpenSSL::SSL
)
kirigami_package_breeze_icons(ICONS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment