From a7591db52259e9b7a037e683821ad9782db468c0 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 08:19:56 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D --- ci/forge-apk.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/forge-apk.sh b/ci/forge-apk.sh index 7e23f3e..e4bf45c 100755 --- a/ci/forge-apk.sh +++ b/ci/forge-apk.sh @@ -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)"