Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.4.2
-
None
-
-
cae4dd01a (master)
-
2023wk20FOQtforAndroid
Description
Steps to reproduce:
- Build any of the following projects with an Android kit:
Expected: The project can be run on Android
Actual: Getting error 'No target architecture defined in json file.'. It seems that incorrect file is used for building apk (androiddeployqt) as an input.
Qt Creator "uses build-positioners-Android_Qt_6_4_2_Clang_arm64_v8a-Debug/shared/android-positioners_shared-deployment-settings.json" which does not have info about architecture. File "quick/build-positioners-Android_Qt_6_4_2_Clang_arm64_v8a-Debug/android-positionersexample-deployment-settings.json" should be used instead.
When I manually replaced these files I was able to build the apk.
Reproducibility: 100%
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-28168 Application with a manually set output name cannot be deployed
- Reported
-
QTCREATORBUG-28620 Cannot deploy to Android device due to changes in androiddeployqt
- Open
-
QTBUG-96831 quick/scenegraph/graph and scenegraph/openglunderqml not compiling with Android
- Closed
-
QTCREATORBUG-26888 Qt Creator Android build error - No target architecture defined in json file
- Closed
- is duplicated by
-
QTCREATORBUG-27167 Building Qt module for Android in QtCreator doesn't work
- Closed
- relates to
-
QTCREATORBUG-28168 Application with a manually set output name cannot be deployed
- Reported
-
QTBUG-113411 Vulkan under qml example will not build for android on Windows
- Closed
-
QTQAINFRA-5393 Qt Test Attack - Feb, 2023
- Open