aboutsummaryrefslogtreecommitdiffstats
path: root/docker/focal
diff options
context:
space:
mode:
authorRaphaël Cotty <raphael.cotty@gmail.com>2020-10-16 22:44:41 +0200
committerRaphaël Cotty <raphael.cotty@gmail.com>2020-11-17 19:22:18 +0000
commite8b186610738a16fe8ddaacd39797d863828c7aa (patch)
tree1d9e2d60012739ccdfd5375b208580092ef8bc80 /docker/focal
parentf4c76e08f24b48e142683cea54b4c64a75083f17 (diff)
Android: Update for Qt 6
Manage the new directory layout of Qt6. Update generation of the input file for androiddeployqt. Fixes: QBS-1613 Fixes: QBS-1609 Change-Id: Ie633fad467f310bfc4cd42e9c32d9cfc2e734582 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'docker/focal')
-rw-r--r--docker/focal/test-android.Dockerfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/docker/focal/test-android.Dockerfile b/docker/focal/test-android.Dockerfile
index a012f504f..8ded72c37 100644
--- a/docker/focal/test-android.Dockerfile
+++ b/docker/focal/test-android.Dockerfile
@@ -101,12 +101,18 @@ USER root
#
ARG QT_VERSION
COPY scripts/install-qt.sh install-qt.sh
-RUN if [ "${QT_VERSION}" \< "5.14" ]; then \
+RUN if [ "${QT_VERSION}" \< "5.14" ] || [ ! "${QT_VERSION}" \< "6.0.0" ]; then \
QT_ABIS="android_armv7 android_arm64_v8a android_x86 android_x86_64"; \
else \
QT_ABIS="any"; \
fi; \
+ if [ ! "${QT_VERSION}" \< "6.0.0" ]; then \
+ ./install-qt.sh --version ${QT_VERSION} qtbase qtdeclarative icu; \
+ QT_COMPONENTS="qtbase qtdeclarative qttools qtquickcontrols2 qtquicktimeline"; \
+ else \
+ QT_COMPONENTS="qtbase qtdeclarative qttools qtimageformats"; \
+ fi; \
for abi in ${QT_ABIS}; do \
- ./install-qt.sh --version ${QT_VERSION} --target android --toolchain ${abi} qtbase qtdeclarative qttools qtimageformats; \
+ ./install-qt.sh --version ${QT_VERSION} --target android --toolchain ${abi} ${QT_COMPONENTS}; \
done && \
echo "export QT_VERSION=${QT_VERSION}" >> /etc/profile.d/qt.sh