Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0
-
-
44149f9d8 (dev), 348d56cca (6.8), 87930bb56 (dev), 839695567 (6.8)
Description
Steps:
- Create a minimal Quick project. A rectangle with color 'red' than fills the screen
- Configure with QT_ANDROID_BUILD_ALL_ABIS=ON . This needs a Qt installation that has at least two Android ABI kits
~/Qt/<qt_version>/android_<abi>/bin/qt-cmake \ -DANDROID_SDK_ROOT=~/Android/Sdk \ -DANDROID_NDK_ROOT=~/Android/Sdk/ndk/26.1.10909125 \ -DQT_ANDROID_BUILD_ALL_ABIS:BOOL=ON \ -DQT_USE_TARGET_ANDROID_BUILD_DIR:BOOL=ON \ -S <source_dir> -B <build_dir> \ -GNinja
- Run ninja in <build-dir>
- Record the timestamp of the target .so file of the default abi from the root of the build directory.
- Record the timestamp of the .so files of the target project for other ABIs from builddir/android_abi_builds/*
- Modify the sources of the project. eg. change the color of the QML Rectangle
- Run ninja again from the build folder
- Record the timestamp of the target .so file of the default abi
- Record the timestamp of the .so files of the target project for other ABIs
Expected results:
- The main .so file should have a newer timestamp
- .so files of the target project for other ABIs also should have a newer timestamp
Actual results:
- The main .so file has a newer timestamp
- The .so files of other ABIs remains the same as the first build
Workaround:
Rebuild the project.
Attachments
Issue Links
- is duplicated by
-
QTTA-172 Switching between single-abi to multi-abi, fails with remaining a single-abi output
- Closed
For Gerrit Dashboard: QTBUG-129358 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
593900,3 | Trigger reconfiguring of android ABI projects when CMake files changed | dev | qt/qtbase | Status: MERGED | +2 | 0 |
593901,4 | Reestablish the dependency chain between Android ABI-specific targets | dev | qt/qtbase | Status: MERGED | +2 | 0 |
595266,2 | Reestablish the dependency chain between Android ABI-specific targets | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
596045,2 | Trigger reconfiguring of android ABI projects when CMake files changed | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |