Forge APK build: install the libraries the host Qt tools need
qmlimportscanner failed to start without libglib-2.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -12,7 +12,9 @@ VERSION_CODE=$(( $(date +%s) / 60 ))
|
||||
|
||||
echo "== tools"
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq --no-install-recommends python3-pip python3-venv ninja-build cmake unzip curl ca-certificates >/dev/null
|
||||
# The host Qt tools (moc, qmlimportscanner, qmlcachegen) need glib, GL and friends.
|
||||
apt-get install -y -qq --no-install-recommends python3-pip python3-venv ninja-build cmake unzip curl ca-certificates \
|
||||
libglib2.0-0t64 libgl1 libegl1 libopengl0 libfontconfig1 libfreetype6 libxkbcommon0 libdbus-1-3 >/dev/null
|
||||
python3 -m venv /opt/aqt && /opt/aqt/bin/pip install -q aqtinstall
|
||||
|
||||
echo "== Qt $QT_VERSION (android arm64 + host)"
|
||||
|
||||
Reference in new issue
Block a user