Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111334

Missing target architecture when building some of the QtQuick projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.4.2
    • Examples and Demos
    • None
    • Android
    • cae4dd01a (master)
    • 2023wk20FOQtforAndroid

    Description

      Steps to reproduce:

      1. Build any of the following projects with an Android kit:
        1. https://doc.qt.io/qt-6/qtquick-positioners-example.html
        2. https://doc.qt.io/qt-6/qtquick-righttoleft-example.html
        3. https://doc.qt.io/qt-6/qtquick-touchinteraction-example.html

       

      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

          For Gerrit Dashboard: QTBUG-111334
          # Subject Branch Project Status CR V

          Activity

            People

              assam Assam Boudjelthia
              lkos Łukasz Kosiorowski
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes