Skip to content

Commit

Permalink
chore: Build the debug version of Qt for Android.
Browse files Browse the repository at this point in the history
Hopefully we can see something more interesting in stack traces.
  • Loading branch information
iphydf committed Dec 1, 2024
1 parent 1473ba3 commit c261e1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qtox/docker/Dockerfile.android-builder
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,14 @@ RUN tar zxf <(wget -O- https://github.com/openssl/openssl/releases/download/open
&& make install_sw \
&& rm -rf /work/build

#ARG QT_BUILD_TYPE=release
ARG QT_BUILD_TYPE=debug
#ARG ANDROID_ABI=armeabi-v7a
ARG ANDROID_ABI=arm64-v8a
RUN tar Jxf <(wget -O- https://download.qt.io/archive/qt/6.8/6.8.0/single/qt-everywhere-src-6.8.0.tar.xz) \
&& cd qt-everywhere-src-6.8.0 \
&& ./configure -prefix "/work/android/qt" \
"-$QT_BUILD_TYPE" \
-qt-host-path /usr \
-android-abis "$ANDROID_ABI" \
-android-sdk "$ANDROID_SDK_HOME" \
Expand Down Expand Up @@ -206,4 +209,6 @@ RUN tar zxf <(wget -O- https://github.com/TokTok/c-toxcore/releases/download/v0.
&& cmake --install _build \
&& rm -rf /work/build

# Make .android world-writable (like /tmp) so debug signing works.
RUN ["chmod", "1777", "/work/android/sdk/.android"]
WORKDIR /qtox

0 comments on commit c261e1d

Please sign in to comment.