mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Android: improve documentation and setup script
This has now been verified to work on a fresh clean Ubuntu 20.04 install, both using the docker image route as well as the full local build system. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
dbf2e3a857
commit
fb3d1b3073
2 changed files with 57 additions and 48 deletions
|
|
@ -52,11 +52,11 @@ yes | sdkmanager --sdk_root=/android --licenses
|
|||
# next check that Qt is installed
|
||||
if [ ! -d "$LATEST_QT" ] ; then
|
||||
pip3 install aqtinstall
|
||||
aqt install -O /android "$LATEST_QT" linux android -m qtcharts
|
||||
$HOME/.local/bin/aqt install -O /android "$LATEST_QT" linux android -m qtcharts
|
||||
fi
|
||||
|
||||
# now that we have an NDK, copy the font that we need for OnePlus phones
|
||||
# due to https://bugreports.qt.io/browse/QTBUG-69494
|
||||
cp "$ANDROID_HOME"/platforms/"$ANDROID_PLATFORMS"/data/fonts/Roboto-Regular.ttf "$SUBSURFACE_SOURCE"/android-mobile || exit 1
|
||||
cp "$ANDROID_HOME"/platforms/"$ANDROID_PLATFORMS"/data/fonts/Roboto-Regular.ttf "$SCRIPTDIR"/../../android-mobile || exit 1
|
||||
|
||||
echo "things are set up for the Android build"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue