diff options
author | Raphaël Cotty <raphael.cotty@gmail.com> | 2020-01-20 15:22:11 +0100 |
---|---|---|
committer | Raphaël Cotty <raphael.cotty@gmail.com> | 2020-02-04 12:40:58 +0000 |
commit | e130e492ebe6ad266a74df7b7d5efdef55dc0ff7 (patch) | |
tree | d46ae28bb6471b9dca6cccff316ac6842742ff6a /.travis.yml | |
parent | 7811e70970294ff4c4c1fd76221727696e479cfb (diff) |
Android: Update support to qt 5.14 and multi-arch apks for Qt apps
Before qt 5.14.
The profile property "moduleProviders.Qt.qmakeFilePaths" is set with one or more
paths to the different android architectures. Each qmake path belongs to a
different android architecture installation.
So each qmake is used to generated the Qt module corresponding to the architecture.
Although qbs can generate multi-arch apks using multiplex mode, this is not
possible when the project depends on qt libraries. This is because of the
restriction of the qt tool androiddeployqt used by qbs.
Now with qt 5.14.
All android architectures are installed in the same directory.
So the profile property "moduleProviders.Qt.qmakeFilePaths" is set with one
qmake path.
This directly impacts the qbs-setup-android tool and the generation of
the Qt modules.
Because qt libraries are installed in the the same directory, they have the
abi in their name (libQt5Core_armeabi-v7a.so).
So the rules that generate the apks are also impacted.
The new androiddeployqt have a new interface (json config file format and requires
to have the input libraries installed in the deployment directory) which allows
the generation of multi-arch apks.
So Qt.android_support modules needs to be updated as well.
Fixes: QBS-1497
Change-Id: Ibd546f356c38a05f42dfcac0a4ec92bd82d6f700
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index d941d4cff..1853fbe0c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,13 +60,15 @@ jobs: - docker-compose run --rm bionic scripts/run-analyzer.sh - <<: *build-on-bionic - name: With Qbs and with Qt for Android (Qt 5.13) + name: With Qbs and with Qt for Android before_install: - docker-compose pull bionic - docker-compose pull bionic-android-513 + - docker-compose pull bionic-android-514 script: - docker-compose run bionic qbs build modules.cpp.compilerWrapper:ccache modules.qbsbuildconfig.enableBundledQt:true config:release - docker-compose run bionic-android-513 scripts/test-qt-for-android.sh release/install-root/usr/local/bin + - docker-compose run bionic-android-514 scripts/test-qt-for-android.sh release/install-root/usr/local/bin - &build-on-macos stage: Build Qbs and and run autotests |