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:
Claude committed 2026-11-06 08:19:56 +00:00
1 parent 0b268c5298
commit a7591db522
1 file changed
+3 -1
+3 -1
View File
@@ -12,7 +12,9 @@ VERSION_CODE=$(( $(date +%s) / 60 ))
echo "== tools" echo "== tools"
apt-get update -qq 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 python3 -m venv /opt/aqt && /opt/aqt/bin/pip install -q aqtinstall
echo "== Qt $QT_VERSION (android arm64 + host)" echo "== Qt $QT_VERSION (android arm64 + host)"