android openssl added

This commit is contained in:
Roberto Viola
2021-01-13 11:31:30 +01:00
committed by Roberto Viola
parent a03d1bf690
commit bcc831cac8
5 changed files with 8 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "android_openssl"]
path = android_openssl
url = https://github.com/KDAB/android_openssl.git

1
android_openssl Submodule

Submodule android_openssl added at fb472b74cb

View File

@@ -54,7 +54,7 @@
application still try to draw after
"applicationStateChanged(Qt::ApplicationSuspended)"
signal is sent! -->
<meta-data android:name="android.app.background_running" android:value="false"/>
<meta-data android:name="android.app.background_running" android:value="true"/>
<!-- Background running -->
<!-- auto screen scale factor -->
<meta-data android:name="android.app.auto_screen_scale_factor" android:value="full"/>

View File

@@ -1066,7 +1066,7 @@ QOAuth2AuthorizationCodeFlow* homeform::strava_connect()
#warning "DEFINE STRAVA_SECRET_KEY!!!"
#endif
strava->setModifyParametersFunction(buildModifyParametersFunction(QUrl(""), QUrl("")));
auto replyHandler = new QOAuthHttpServerReplyHandler(QHostAddress("127.0.0.1"), 91, this);
auto replyHandler = new QOAuthHttpServerReplyHandler(QHostAddress("127.0.0.1"), 8091, this);
connect(replyHandler,&QOAuthHttpServerReplyHandler::replyDataReceived, this,
&homeform::replyDataReceived);
connect(replyHandler,&QOAuthHttpServerReplyHandler::callbackReceived, this,

View File

@@ -17,6 +17,8 @@ DEFINES += QT_DEPRECATED_WARNINGS IO_UNDER_QT
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
android: include(../android_openssl/openssl.pri)
SOURCES += \
bike.cpp \
bluetooth.cpp \