Use QtKeychain on Android

This commit is contained in:
Tobias Fella
2021-03-13 21:23:10 +01:00
parent 879009a6f7
commit 53670f5e81
2 changed files with 8 additions and 21 deletions

View File

@@ -48,18 +48,18 @@ set_package_properties(KF5Kirigami2 PROPERTIES
PURPOSE "Kirigami application UI framework"
)
find_package(Qt5Keychain)
set_package_properties(Qt5Keychain PROPERTIES
TYPE REQUIRED
PURPOSE "Secure storage of account secrets"
)
if(ANDROID)
find_package(OpenSSL)
set_package_properties(OpenSSL PROPERTIES
TYPE REQUIRED
PURPOSE "Encrypted communications"
)
else()
find_package(Qt5Keychain)
set_package_properties(Qt5Keychain PROPERTIES
TYPE REQUIRED
PURPOSE "Secure storage of account secrets"
)
endif()
if (NOT ANDROID AND NOT WIN32 AND NOT APPLE)