Compare commits

..

No commits in common. "cdb9e27cc85df1b88cf6c5fe7e5ff3981b1b5bca" and "81c16e66e2708535ce07e8b8de0eebb5b8350c87" have entirely different histories.

2 changed files with 0 additions and 17 deletions

View file

@ -6,7 +6,6 @@ ARG QT_VERSION="5.15.5"
ARG ANDROID_PLATFORM_VERSION="android-29" ARG ANDROID_PLATFORM_VERSION="android-29"
ARG ANDROID_BUILDTOOLS_VERSION="29.0.2" ARG ANDROID_BUILDTOOLS_VERSION="29.0.2"
ARG ANDROID_NDK_VERSION="21.3.6528147" ARG ANDROID_NDK_VERSION="21.3.6528147"
ARG OPENSSL_VERSION="1.1.1l_1.0.2u"
WORKDIR /workspace WORKDIR /workspace
@ -58,13 +57,7 @@ RUN echo "**** setup environment ****" && \
rm -rf workspace && \ rm -rf workspace && \
echo "**** done ****" echo "**** done ****"
RUN echo "**** download openssl binaries ****" && \
wget https://github.com/KDAB/android_openssl/archive/refs/tags/${OPENSSL_VERSION}.tar.gz -o android_openssl.tar.gz && \
tar -xf android_openssl.tar.xz --strip-components=1 -C /usr/lib/android-sdk/android_openssl && \
rm android_openssl.tar.gz
ENV PATH="${PATH}:/usr/lib/qt/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin" ENV PATH="${PATH}:/usr/lib/qt/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin"
ENV ANDROID_HOME=/usr/lib/android-sdk
WORKDIR /src WORKDIR /src
COPY "qt-build" "/usr/local/bin/qt-build" COPY "qt-build" "/usr/local/bin/qt-build"

View file

@ -48,13 +48,3 @@ docker run --rm \
-v $(pwd):/drone/src \ -v $(pwd):/drone/src \
itsblue.dev/plugins/qt-android itsblue.dev/plugins/qt-android
``` ```
# Using openssl
This image includes [prebuilt openssl libraries](https://github.com/KDAB/android_openssl). You may include them in your .pro file like so:
```pro
android {
ANDROID_HOME = $$(ANDROID_HOME)
include($$ANDROID_HOME/android_openssl/openssl.pri)
}
```